aboutsummaryrefslogtreecommitdiffstats
path: root/awkgram.y
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.y
parente81708082f8b3526fb10f9599d1368dfab6d25e7 (diff)
downloadegawk-077f43dbe53c80e3edb974454e25c3f0c93d0fd5.tar.gz
egawk-077f43dbe53c80e3edb974454e25c3f0c93d0fd5.tar.bz2
egawk-077f43dbe53c80e3edb974454e25c3f0c93d0fd5.zip
Remove support for old-style extensions.
Diffstat (limited to 'awkgram.y')
-rw-r--r--awkgram.y5
1 files changed, 1 insertions, 4 deletions
diff --git a/awkgram.y b/awkgram.y
index 50fd90a0..c2dbdb48 100644
--- a/awkgram.y
+++ b/awkgram.y
@@ -1809,7 +1809,7 @@ direct_func_call
if (! at_seen) {
n = lookup($1->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($1->source_line,
_("attempt to use non-function `%s' in function call"),
$1->func_name);
@@ -2055,9 +2055,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},