8000 Line number information for #pragmas by GardenTools · Pull Request #45 · robotpy/robotpy-cppheaderparser · GitHub
[go: up one dir, main page]

Skip to content

Line number information for #pragmas #45

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

Merged
merged 2 commits into from
Mar 24, 2020
Merged

Conversation

GardenTools
Copy link
Contributor

I've added capturing of line number information for pragmas, defines and includes. I've left the existing lists of strings untouched to preserve the existing interface and added new members to store the additional information

@virtuald
Copy link
Member

I'm trying to get away from doing preprocessing, but this seems to work well enough.

@virtuald virtuald merged commit 176d75f into robotpy:master Mar 24, 2020
@GardenTools
Copy link
Contributor Author

It was motivated by wanting to be able to identify the positions of structure packing pragmas such as https://gcc.gnu.org/onlinedocs/gcc-4.4.4/gcc/Structure_002dPacking-Pragmas.html in relation to structure definitions.

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

Successfully merging this pull request may close these issues.

2 participants
0