Skip to content

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