diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2012-12-18 10:09:52 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2012-12-18 10:09:52 +0200 |
commit | 320d5302c4a39ea7936950b2e663e37683b39fe0 (patch) | |
tree | e8ced94576fdc9560a69a61638e18f8d1e78deba /awkgram.c | |
parent | d1d9b0cd1308eee945e121e81fe15458459e2791 (diff) | |
download | egawk-320d5302c4a39ea7936950b2e663e37683b39fe0.tar.gz egawk-320d5302c4a39ea7936950b2e663e37683b39fe0.tar.bz2 egawk-320d5302c4a39ea7936950b2e663e37683b39fe0.zip |
Fix extension to be available only if DYNAMIC.
Diffstat (limited to 'awkgram.c')
-rw-r--r-- | awkgram.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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}, |