aboutsummaryrefslogtreecommitdiffstats
path: root/awkgram.y
diff options
context:
space:
mode:
Diffstat (limited to 'awkgram.y')
-rw-r--r--awkgram.y8
1 files changed, 7 insertions, 1 deletions
diff --git a/awkgram.y b/awkgram.y
index c4099919..9e41a0a5 100644
--- a/awkgram.y
+++ b/awkgram.y
@@ -1744,7 +1744,13 @@ non_post_simp_exp
else
$$ = $2;
}
- | lex_builtin '(' opt_fcall_expression_list r_paren
+ | LEX_BUILTIN '(' opt_fcall_expression_list r_paren
+ {
+ $$ = snode($3, $1);
+ if ($$ == NULL)
+ YYABORT;
+ }
+ | LEX_LENGTH '(' opt_fcall_expression_list r_paren
{
$$ = snode($3, $1);
if ($$ == NULL)