summaryrefslogtreecommitdiff
path: root/docs/c1/grammar/zbnf.txt
diff options
context:
space:
mode:
Diffstat (limited to 'docs/c1/grammar/zbnf.txt')
-rw-r--r--docs/c1/grammar/zbnf.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/c1/grammar/zbnf.txt b/docs/c1/grammar/zbnf.txt
index 0cbceab..704db22 100644
--- a/docs/c1/grammar/zbnf.txt
+++ b/docs/c1/grammar/zbnf.txt
@@ -50,11 +50,12 @@ HexByte : HEXDIG HEXDIG
UnicodeSV : HEXDIG+
RuneExpr : Rune [ '\' BareString | CladDatum ]
-HashBang : '!' ( SP | HTAB )* BareString
+HashBang : '!' ( SP | HTAB )* HBLine [ LF ]
LabelExpr : '%' Label ( '%' | '=' Datum )
HashDatum : '\' BareString | CladDatum
Rune : ALPHA ( ALPHA | DIGIT )*
+HBLine : HBChars+ ( SP | HTAB )* [ HBChars+ ]
Label : HEXDIG+
ParenList : '(' ListBody ')'
@@ -63,6 +64,8 @@ BraceList : '{' ListBody '}'
ListBody : Unit* [ Blank* '&' Unit ] Blank*
+HBChars : ~( SP | HTAB | LF )
+
;; Local Variables:
;; eval: (flyspell-mode -1)