aboutsummaryrefslogtreecommitdiffstats
path: root/awkgram.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2015-06-28 22:23:36 +0300
committerArnold D. Robbins <arnold@skeeve.com>2015-06-28 22:23:36 +0300
commit49e523a61a7092a890622e5df18d3503c071d889 (patch)
tree712bb789e6d106345675860a14514128b96f79bc /awkgram.c
parent056cd074c60d940d5bb46410f114a6c2584daaae (diff)
parent2befea585a321d9d092bfb99cbfa65350a839752 (diff)
downloadegawk-49e523a61a7092a890622e5df18d3503c071d889.tar.gz
egawk-49e523a61a7092a890622e5df18d3503c071d889.tar.bz2
egawk-49e523a61a7092a890622e5df18d3503c071d889.zip
Merge branch 'master' into feature/cmake
Diffstat (limited to 'awkgram.c')
-rw-r--r--awkgram.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/awkgram.c b/awkgram.c
index a1a055b6..0ee3e66a 100644
--- a/awkgram.c
+++ b/awkgram.c
@@ -3953,7 +3953,7 @@ regular_print:
if (! at_seen) {
n = lookup((yyvsp[-3])->func_name);
if (n != NULL && n->type != Node_func
- && n->type != Node_ext_func && n->type != Node_old_ext_func) {
+ && n->type != Node_ext_func) {
error_ln((yyvsp[-3])->source_line,
_("attempt to use non-function `%s' in function call"),
(yyvsp[-3])->func_name);
@@ -4475,9 +4475,6 @@ static const struct token tokentab[] = {
{"eval", Op_symbol, LEX_EVAL, 0, 0, 0},
{"exit", Op_K_exit, LEX_EXIT, 0, 0, 0},
{"exp", Op_builtin, LEX_BUILTIN, A(1), do_exp, MPF(exp)},
-#ifdef DYNAMIC
-{"extension", Op_builtin, LEX_BUILTIN, GAWKX|A(1)|A(2)|A(3), do_ext, 0},
-#endif
{"fflush", Op_builtin, LEX_BUILTIN, A(0)|A(1), do_fflush, 0},
{"for", Op_K_for, LEX_FOR, BREAK|CONTINUE, 0, 0},
{"func", Op_func, LEX_FUNCTION, NOT_POSIX|NOT_OLD, 0, 0},
@@ -7289,6 +7286,7 @@ make_regnode(int type, NODE *exp)
}
n->re_exp = exp;
n->re_flags = CONSTANT;
+ n->valref = 1;
}
return n;
}