mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
syntax error in interpolated symbol; fixed #3108
This commit is contained in:
@@ -2829,7 +2829,7 @@ symbol : basic_symbol
|
||||
{
|
||||
$$ = new_sym(p, $1);
|
||||
}
|
||||
| tSYMBEG tSTRING_BEG string_interp tSTRING
|
||||
| tSYMBEG tSTRING_BEG string_rep tSTRING
|
||||
{
|
||||
p->lstate = EXPR_END;
|
||||
$$ = new_dsym(p, push($3, $4));
|
||||
|
||||
Reference in New Issue
Block a user