diff options
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | parser.l | 2 |
2 files changed, 10 insertions, 1 deletions
@@ -1,5 +1,14 @@ 2015-07-07 Kaz Kylheku <kaz@kylheku.com> + Bugfix: allow @1 in brace variables. + + * parser.l (grammar): Scan a METANUM token in the + BRACED state also. This allows us to correctly + reference op arguments in a quasiliteral, as in + `foo @{@1 [1..2] ","} bar`. + +2015-07-07 Kaz Kylheku <kaz@kylheku.com> + Improved printing of stream objects. * stream.c (null_stream_print): Static function removed. @@ -310,7 +310,7 @@ UONLY {U2}{U}|{U3}{U}{U}|{U4}{U}{U}{U} return NUMBER; } -<NESTED,QSILIT,QWLIT,QSPECIAL>@{NUM} { +<NESTED,BRACED,QSILIT,QWLIT,QSPECIAL>@{NUM} { val str = string_own(utf8_dup_from(yytext + 1)); if (yy_top_state(yyscanner) == INITIAL |