summaryrefslogtreecommitdiff
path: root/docs/c1/grammar/zbnf.txt
diff options
context:
space:
mode:
authorTaylan Kammer <taylan.kammer@gmail.com>2026-05-29 14:02:24 +0200
committerTaylan Kammer <taylan.kammer@gmail.com>2026-05-29 14:02:24 +0200
commit828cd4c145b1c4ae8c32e4256ceb809b112df851 (patch)
treed1bc7db37785dab5c0070e5bb2563e4c6c4d6a56 /docs/c1/grammar/zbnf.txt
parentfa5db8e89225622a1ee7a5d802f253d07884b13e (diff)
Strings allow "\x;" i.e. empty hex escape.
Diffstat (limited to 'docs/c1/grammar/zbnf.txt')
-rw-r--r--docs/c1/grammar/zbnf.txt2
1 files changed, 1 insertions, 1 deletions
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