← 输入框|github.com|刷新
Skip to content

Line number information for #pragmas - #45

Merged
virtuald merged 2 commits into
robotpy:masterfrom
GardenTools:master
Mar 24, 2020
Merged

virtuald merged 2 commits into
robotpy:masterfrom
GardenTools:master

Conversation

@GardenTools

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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