aboutsummaryrefslogtreecommitdiffstats
path: root/awkgram.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2015-06-26 11:58:14 +0300
committerArnold D. Robbins <arnold@skeeve.com>2015-06-26 11:58:14 +0300
commit077f43dbe53c80e3edb974454e25c3f0c93d0fd5 (patch)
tree6a4d84c50ec4cdb7f3a1543dd185e7a11de37b28 /awkgram.c
parente81708082f8b3526fb10f9599d1368dfab6d25e7 (diff)
downloadegawk-077f43dbe53c80e3edb974454e25c3f0c93d0fd5.tar.gz
egawk-077f43dbe53c80e3edb974454e25c3f0c93d0fd5.tar.bz2
egawk-077f43dbe53c80e3edb974454e25c3f0c93d0fd5.zip
Remove support for old-style extensions.
Diffstat (limited to 'awkgram.c')
-rw-r--r--awkgram.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/awkgram.c b/awkgram.c
index a1a055b6..88e02afa 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},