-
Notifications
You must be signed in to change notification settings - Fork 68
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
Missing source file information in parsed data #89
Comments
I guess #88 and #89 What you complain is that the original position of the token is lost, right ? The parser is a 2 step processing. First preprocessing is executed, during this step token are correctly annotate by filename, line / pos. In an old and closed ticket #46 (comment) I proposed that preprocessor produce |
@hs-apotell , True. The filename is required to resolve actual position in code.
And then use it in parser. |
I consider them different. #88 is a bug (parsed values aren't propagated correctly) whereas #89 is a missing feature (nothing in the current exposed API holds the source filename). I am planning on using this for intellisense (Ctrl+Click) functionality in my tool and both #88 and #89 are crucial to get it working correctly. |
Patch and tests are welcome. |
When parsing multiple files in the same context, the "Position" should include the source file context as well.
The text was updated successfully, but these errors were encountered: