diff options
-rw-r--r-- | src/parser_bison.y | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/parser_bison.y b/src/parser_bison.y index 3c8013b2..2d5d8e48 100644 --- a/src/parser_bison.y +++ b/src/parser_bison.y @@ -1760,6 +1760,15 @@ typeof_data_expr : primary_expr } $$ = e; } + | typeof_expr DOT primary_expr + { + struct location rhs[] = { + [1] = @2, + [2] = @3, + }; + + $$ = handle_concat_expr(&@$, $$, $1, $3, rhs); + } ; typeof_expr : primary_expr |