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

#include can be followed by a macro name or a macro call #38

Merged
merged 2 commits into from
Dec 17, 2019

Conversation

calixteman
Copy link
Contributor

For reference:
https://en.cppreference.com/w/cpp/preprocessor/include
There is:

Any preprocessing tokens (macro constants or expressions) are permitted as arguments to #include and __has_include (since C++17) as long as they expand to a sequence of characters surrounded by < > or " ". 

@maxbrunsfeld
Copy link
Contributor

Rebased and switched from call_expression to preproc_call_expression, since I have merged #29.

@maxbrunsfeld maxbrunsfeld merged commit c455818 into tree-sitter:master Dec 17, 2019
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