%{
+#ifdef HAVE_CONFIG_H
+# include "../../config.h"
+#endif // HAVE_CONFIG_H
+
#include <stdio.h>
#include <string.h>
#include "yacc_parser.hh"
extern YYSTYPE yylval;
-
+
%}
+%option yylineno
+
%%
\{ return OBRACE;
mod3 |
Mod4 |
mod4 |
+Mod5 |
+mod5 |
Control |
control |
shift |
Shift yylval = (int) strdup(yytext); return BINDING;
+on |
+On |
true |
True yylval = (int) strdup(yytext); return TRUE;
+Off |
+off |
false |
False yylval = (int) strdup(yytext); return FALSE;
[0-9]+ yylval = (int) strdup(yytext); return NUMBER;