diff options
| author | Taylan Kammer <taylan.kammer@gmail.com> | 2025-03-28 20:44:01 +0100 |
|---|---|---|
| committer | Taylan Kammer <taylan.kammer@gmail.com> | 2025-03-28 20:44:01 +0100 |
| commit | d714cf3b57e39979b208369f9369b526409172b3 (patch) | |
| tree | ebcdcbbf6f034e8afce33e673a20a71cc03a52f9 /spec | |
| parent | 6eedf5394997b91467a392732cdb7fbb80a790b8 (diff) | |
blip
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/parser.ebnf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/parser.ebnf b/spec/parser.ebnf index 60f7890..ce7fa83 100644 --- a/spec/parser.ebnf +++ b/spec/parser.ebnf @@ -49,7 +49,7 @@ bare_esc_str : bare_esc bare_str_elt* ; quoted_str : ( quoted_char | '\' quoted_esc )* ; hash_expr : rune clad_datum? - | '%' label ( '%' | '=' datum_unit ) + | '%' label ( '%' | '=' blank* datum ) | clad_datum ; @@ -57,7 +57,7 @@ list : datum_unit+ list_tail? blank* ; list_tail : '.' blank+ datum_unit -quote_expr : ( "'" | "`" | "," ) datum ; +quote_expr : ( "'" | "`" | "," ) blank* datum ; bare_char : letter | digit |
