X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fparse.l;h=427a55cdf2b8799e0b23edb2c47c9dc41a502d7b;hb=bca8082d6d09a16a116c70001469a576b93157ce;hp=c888b9f1a9fc2752db6404008963ad89dcf35101;hpb=71c8b0b7b2cf2fa79ac4c81b7756f2b230f2de7a;p=chaz%2Fopenbox diff --git a/openbox/parse.l b/openbox/parse.l index c888b9f1..427a55cd 100644 --- a/openbox/parse.l +++ b/openbox/parse.l @@ -1,19 +1,16 @@ %{ -#include -#include "y.tab.h" +#include "parse.h" #ifdef HAVE_STDLIB_H # include #endif -extern void yyerror(char *err); - int yylineno = 1; %} real [-0-9][0-9]*\.[0-9]+ integer [-0-9][0-9]* string \"[^"\n]*\" -identifier [a-zA-Z][.a-zA-Z0-9]* +identifier [a-zA-Z][-.a-zA-Z0-9]* bool ([tT][rR][uU][eE]|[fF][aA][lL][sS][eE]|[yY][eE][sS]|[nN][oO]|[oO][nN]|[oO][fF][fF]) %%