summaryrefslogtreecommitdiff
path: root/bcc/table.c
diff options
context:
space:
mode:
Diffstat (limited to 'bcc/table.c')
-rw-r--r--bcc/table.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/bcc/table.c b/bcc/table.c
index 68cbc6a..203b4fb 100644
--- a/bcc/table.c
+++ b/bcc/table.c
@@ -30,7 +30,7 @@
#define MAXEXPR 500
#endif
#define MAXLOCAL 100
-#define NKEYWORDS 36
+#define NKEYWORDS 38
#ifdef NOFLOAT
#define NSCALTYPES 10
#else
@@ -117,6 +117,7 @@ PRIVATE struct keywordstruct keywords[NKEYWORDS] =
{ "#asm", ASMCNTL, },
{ "#define", DEFINECNTL, },
+ { "#elif", ELIFCNTL, },
{ "#else", ELSECNTL, },
{ "#endasm", ENDASMCNTL, },
{ "#endif", ENDIFCNTL, },
@@ -126,6 +127,7 @@ PRIVATE struct keywordstruct keywords[NKEYWORDS] =
{ "#ifndef", IFNDEFCNTL, },
{ "#line", LINECNTL, },
{ "#undef", UNDEFCNTL, },
+ { "#warning", WARNINGCNTL, },
{ "defined", DEFINEDSYM, }, /* should be deactivated except in #if's */
};