From: Dana Jansens Date: Thu, 3 Apr 2003 22:16:49 +0000 (+0000) Subject: allow '-' in identifiers X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=e974208068e0b4cede25d35fe16b861c307f0bf4;p=chaz%2Fopenbox allow '-' in identifiers --- diff --git a/openbox/parse.l b/openbox/parse.l index bab976c4..427a55cd 100644 --- a/openbox/parse.l +++ b/openbox/parse.l @@ -10,7 +10,7 @@ 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]) %%