X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=util%2Fepist%2Fepist.l;h=c3db54b8120cea77867de794fc58f791ffef1257;hb=b04f5a85d5dd3660207318403cf9e620b48dcc76;hp=55dc8d615f757d347ebf5d80e639997e1768eb56;hpb=483b8496d615dc1ed6934fb685b904ad6923b8a1;p=chaz%2Fopenbox diff --git a/util/epist/epist.l b/util/epist/epist.l index 55dc8d61..c3db54b8 100644 --- a/util/epist/epist.l +++ b/util/epist/epist.l @@ -1,4 +1,8 @@ %{ +#ifdef HAVE_CONFIG_H +# include "../../config.h" +#endif // HAVE_CONFIG_H + #include #include #include "yacc_parser.hh" @@ -27,8 +31,12 @@ 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;