Skip to content

Commit dbb18eb

Browse files
committed
grammars[JSON]: Lexify Char rule
1 parent d22070d commit dbb18eb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

grammars/json.peg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Exp <- [eE][-+]?[0-9]+^expDigits
1414

1515
// Whitespaces are part of the string within quotes
1616
String <- '"' #(Char* ('"'^strClose))
17-
Char <- Escape / Unicode / (!'"' .)
17+
Char <- #(Escape / Unicode / (!'"' .))
1818
Escape <- '\\' ["\\/bfnrt]
1919
Unicode <- #('\\' 'u' Hex^chrH1 Hex^chrH2 Hex^chrH3 Hex^chrH4)
2020
Hex <- [0-9A-Fa-f]

0 commit comments

Comments
 (0)