Skip to content

Commit

Permalink
Update src/grammar/grammar.ohm
Browse files Browse the repository at this point in the history
Co-authored-by: Anton Trunov <anton.a.trunov@gmail.com>
  • Loading branch information
Gusarich and anton-trunov authored Mar 27, 2024
1 parent 3afa10b commit 40983d9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/grammar/grammar.ohm
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,6 @@ Tact {
boolLiteral = ("true" | "false") ~idPart

// String literal
// stringLiteralCharacter = ~("\"" | "\\" | lineTerminator) any
// stringLiteral = "\"" stringLiteralCharacter* "\""
stringLiteral = "\"" (nonQuoteOrBackslashChar | escapeSequence)* "\""
nonQuoteOrBackslashChar = ~("\"" | "\\") any
escapeSequence = "\\" "\\" -- backslash
Expand Down

0 comments on commit 40983d9

Please sign in to comment.