aboutsummaryrefslogtreecommitdiff
path: root/src/parser.h
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2011-10-09 21:38:21 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2011-10-09 22:03:58 +0300
commita43d8894bc5bed439265dd3984898c22c8df857b (patch)
tree39256849547ae47a95107c8e9aa5856ec9578c07 /src/parser.h
parent1fdfe0ec055c5e8c080dd1427d98730885ac8bd4 (diff)
downloadcflow-a43d8894bc5bed439265dd3984898c22c8df857b.tar.gz
cflow-a43d8894bc5bed439265dd3984898c22c8df857b.tar.bz2
Accept qualifiers before declarations.
* src/c.l: Handle "inline" keyword. * src/main.c (symbol_optype): Add "qualifier". * src/parser.c (print_token): Correctly handle PARM_WRAPPER and STRING. (save_token): Handle QUALIFIER. In verbose mode, warn about unexpected symbols. (yyparse): Handle QUALIFIER and PARM_WRAPPER. * src/parser.h (QUALIFIER): New define.
Diffstat (limited to 'src/parser.h')
-rw-r--r--src/parser.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parser.h b/src/parser.h
index fd423ae..49c8b45 100644
--- a/src/parser.h
+++ b/src/parser.h
@@ -35,6 +35,7 @@
#define TYPE 270
#define STRING 271
#define PARM_WRAPPER 272
+#define QUALIFIER 273
typedef struct {
char *str;

Return to:

Send suggestions and report system problems to the System administrator.