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

Replace keywords with strings in grammar #597

Closed
guwirth opened this issue Jul 26, 2015 · 1 comment
Closed

Replace keywords with strings in grammar #597

guwirth opened this issue Jul 26, 2015 · 1 comment
Assignees
Milestone

Comments

@guwirth
Copy link
Collaborator

guwirth commented Jul 26, 2015

My initial idea was to remove all keywords from the grammar and replace them with strings. Question is how to deal otherwise with a mixture of C, C++ and C++/CLI and the identifier/keyword conflicts. I'm only not sure with other side effects this could have? E.g. How does Sonar calculate the complexity?

Has someone experience with this?

@guwirth
Copy link
Collaborator Author

guwirth commented Nov 8, 2015

After reading #673 I had a closer look to the standard again. My current understanding: we should keep all C++11 keywords as keywords in the grammar http://en.cppreference.com/w/cpp/keyword. All others should be handled as strings (e.g final and override).

@guwirth guwirth added this to the M 0.9.5 milestone Feb 20, 2016
@guwirth guwirth self-assigned this Feb 20, 2016
@guwirth guwirth closed this as completed Feb 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant