Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No line number information #3

Open
Ryuanxue opened this issue Mar 25, 2021 · 1 comment
Open

No line number information #3

Ryuanxue opened this issue Mar 25, 2021 · 1 comment

Comments

@Ryuanxue
Copy link

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

@vzyrianov
Copy link
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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants