Skip to content

No line number information #3

Open

Description

@Ryuanxue

Hi!
I tried to get pointer alias with your tool,but I found that the output information has no line number, even though I used the
--position option. Could you tell me how to deal with it,Thank you very much!
I used the following command line:

srcml swap.c --position -o swap.xml
srcptr -a swap.xml >p.out

The output information is as shown below:
line_number

Activity

  1. vzyrianov commented on May 12, 2021

    @vzyrianov
    Member

    Sorry for the late reply. The issue is that srcML's position tag format was updated, but srcPtr hasn't and still relies on the previous position tag format.

    The solution would be to downgrade to an earlier version of srcML.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions