aboutsummaryrefslogtreecommitdiffstats
path: root/awkgram.y
diff options
context:
space:
mode:
Diffstat (limited to 'awkgram.y')
-rw-r--r--awkgram.y12
1 files changed, 3 insertions, 9 deletions
diff --git a/awkgram.y b/awkgram.y
index e7d44b83..3048cc80 100644
--- a/awkgram.y
+++ b/awkgram.y
@@ -1795,9 +1795,8 @@ struct token {
# define NOT_OLD 0x0100 /* feature not in old awk */
# define NOT_POSIX 0x0200 /* feature not in POSIX */
# define GAWKX 0x0400 /* gawk extension */
-# define RESX 0x0800 /* Bell Labs Research extension */
-# define BREAK 0x1000 /* break allowed inside */
-# define CONTINUE 0x2000 /* continue allowed inside */
+# define BREAK 0x0800 /* break allowed inside */
+# define CONTINUE 0x1000 /* continue allowed inside */
NODE *(*ptr)(int); /* function that implements this keyword */
NODE *(*ptr2)(int); /* alternate arbitrary-precision function */
@@ -1858,7 +1857,7 @@ 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)},
-{"fflush", Op_builtin, LEX_BUILTIN, RESX|A(0)|A(1), do_fflush, 0},
+{"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},
{"function",Op_func, LEX_FUNCTION, NOT_OLD, 0, 0},
@@ -3608,11 +3607,6 @@ retry:
tokentab[mid].operator);
warntab[mid] |= GAWKX;
}
- if ((tokentab[mid].flags & RESX) && ! (warntab[mid] & RESX)) {
- lintwarn(_("`%s' is a Bell Labs extension"),
- tokentab[mid].operator);
- warntab[mid] |= RESX;
- }
if ((tokentab[mid].flags & NOT_POSIX) && ! (warntab[mid] & NOT_POSIX)) {
lintwarn(_("POSIX does not allow `%s'"),
tokentab[mid].operator);