aboutsummaryrefslogtreecommitdiff
path: root/grammars/c++.bp
diff options
context:
space:
mode:
Diffstat (limited to 'grammars/c++.bp')
-rw-r--r--grammars/c++.bp4
1 files changed, 2 insertions, 2 deletions
diff --git a/grammars/c++.bp b/grammars/c++.bp
index 333e9f3..1814320 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"\b ..$ *(<`\ \n..$)
-import: ^`#("include"/"import")\b __ (string / `<..`>)
+macro: ^"#define"| ..$ *(<`\ \n..$)
+import: ^`#("include"/"import")| __ (string / `<..`>)