From 828cd4c145b1c4ae8c32e4256ceb809b112df851 Mon Sep 17 00:00:00 2001 From: Taylan Kammer Date: Fri, 29 May 2026 14:02:24 +0200 Subject: Strings allow "\x;" i.e. empty hex escape. --- docs/c1/grammar/peg.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/c1/grammar/peg.txt') diff --git a/docs/c1/grammar/peg.txt b/docs/c1/grammar/peg.txt index 1e060ec..c391162 100644 --- a/docs/c1/grammar/peg.txt +++ b/docs/c1/grammar/peg.txt @@ -43,7 +43,7 @@ QuotStrChar <- (!["\\] .) StringEsc <- '\' / '|' / '"' / ( HTAB / SP )* LF ( HTAB / SP )* / 'a' / 'b' / 't' / 'n' / 'v' / 'f' / 'r' / 'e' - / 'x' HexByte+ ';' + / 'x' HexByte* ';' / 'u' UnicodeSV ';' HexByte <- HEXDIG HEXDIG -- cgit v1.2.3