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/zbnf.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/c1/grammar/zbnf.txt') diff --git a/docs/c1/grammar/zbnf.txt b/docs/c1/grammar/zbnf.txt index 002e027..83a2394 100644 --- a/docs/c1/grammar/zbnf.txt +++ b/docs/c1/grammar/zbnf.txt @@ -44,7 +44,7 @@ QuotStrChar : ~( '"' | '\' ) StringEsc : '\' | '|' | '"' | ( HTAB | SP )* LF ( HTAB | SP )* | '0' | 'a' | 'b' | 't' | 'n' | 'v' | 'f' | 'r' | 'e' - | 'x' HexByte+ ';' + | 'x' HexByte* ';' | 'u' UnicodeSV ';' HexByte : HEXDIG HEXDIG -- cgit v1.2.3