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

Fix preprocessor issues #1

Merged
merged 2 commits into from
Nov 2, 2015
Merged

Conversation

maxbrunsfeld
Copy link
Contributor

Previously, the entire line below a #define statement without a value would be incorrectly interpreted as the definition's value.

This also adds correct parsing of parameters in function-like macro definitions, instead of treating them as part of the definition's value.

Depends on https://github.com/maxbrunsfeld/tree-sitter/pull/4

maxbrunsfeld pushed a commit that referenced this pull request Nov 2, 2015
@maxbrunsfeld maxbrunsfeld merged commit c33aae8 into master Nov 2, 2015
@maxbrunsfeld maxbrunsfeld deleted the mb-fix-preprocessor-issues branch November 2, 2015 05:57
edogrigqv2 referenced this pull request in cloudlinux/tree-sitter-c Jan 31, 2024
edogrigqv2 referenced this pull request in cloudlinux/tree-sitter-c Jan 31, 2024
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.

1 participant