diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-05-19 21:58:54 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-05-19 21:58:54 -0700 |
| commit | 5d5817c2a3d21e91db4eaaf607ff881d71b57638 (patch) | |
| tree | c147550067d237a8d45c35870e18ea4957772c0b /grammars/rust.bp | |
| parent | 6ff7a6753032bc41098042258096bde73ed4bd1c (diff) | |
Fancier string escape sequences and a bit of cleanup.
Diffstat (limited to 'grammars/rust.bp')
| -rw-r--r-- | grammars/rust.bp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grammars/rust.bp b/grammars/rust.bp index 97a1e73..108b41a 100644 --- a/grammars/rust.bp +++ b/grammars/rust.bp @@ -7,7 +7,7 @@ # See the accompanying README.md for more info. comment: "//" .. $ / "/*" ..%(comment / \n) "*/" -string: `" ..%(`\.) `" +string: `" ..%string-escape `" keyword: "as" / "break" / "const" / "continue" / "crate" / "else" / "enum" / "extern" / "false" / "fn" / "for" / "if" / "impl" / "in" / "let" / "loop" / "match" / |
