From 320d5302c4a39ea7936950b2e663e37683b39fe0 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Tue, 18 Dec 2012 10:09:52 +0200 Subject: Fix extension to be available only if DYNAMIC. --- awkgram.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'awkgram.c') diff --git a/awkgram.c b/awkgram.c index 13125170..397d8473 100644 --- a/awkgram.c +++ b/awkgram.c @@ -4395,7 +4395,9 @@ 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}, -- cgit v1.2.3