diff options
Diffstat (limited to 'src/parse.y')
| -rw-r--r-- | src/parse.y | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/parse.y b/src/parse.y index 871842668..316e7309c 100644 --- a/src/parse.y +++ b/src/parse.y @@ -1869,6 +1869,10 @@ primary : literal { $$ = $2; } + | tLPAREN_ARG {p->lstate = EXPR_ENDARG;} rparen + { + $$ = 0; + } | tLPAREN compstmt ')' { $$ = $2; @@ -4198,7 +4202,6 @@ parser_yylex(parser_state *p) } else if (IS_SPCARG(-1)) { c = tLPAREN_ARG; - yywarning(p, "(...) interpreted as grouped expression"); } p->paren_nest++; COND_PUSH(0); |
