diff options
Diffstat (limited to 'grammars/c++.bp')
| -rw-r--r-- | grammars/c++.bp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/grammars/c++.bp b/grammars/c++.bp index 30f47aa..333e9f3 100644 --- a/grammars/c++.bp +++ b/grammars/c++.bp @@ -24,5 +24,5 @@ keyword: "unsigned" / "using" / "virtual" / "void" / "volatile" / "wchar_t" / "while" / "xor" / "xor_eq" function-def: ^_ 2+(id / keyword / anglebraces / `*) % __ parens (__`; / >(__`{)) function: function-def __ braces -macro: ^"#define"} ..$ *(<`\ \n..$) -import: ^("#include"}/"#import"}) __ (string / `<..`>) +macro: ^"#define"\b ..$ *(<`\ \n..$) +import: ^`#("include"/"import")\b __ (string / `<..`>) |
