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 e5066fa..e472a02 100644 --- a/grammars/c.bp +++ b/grammars/c.bp @@ -6,8 +6,8 @@ # full parse tree, and having one makes the task considerably more complicated. # See the accompanying README.md for more info. -comment: "//" .. $ / "/*" .. "*/" % \n -string: `"..`" % (`\.) +comment: "//" .. $ / "/*" ..%\n "*/" +string: `" ..%(`\.) `" keyword: |( "auto" / "break" / "case" / "char" / "const" / "continue" / "default" / "do" / "double" / "else" / "enum" / "extern" / "float" / "for" / "goto" / "if" / |
