diff options
Diffstat (limited to 'spec/parser.ebnf')
| -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 |
