]> Dogcows Code - chaz/openbox/commitdiff
allow '-' in identifiers
authorDana Jansens <danakj@orodu.net>
Thu, 3 Apr 2003 22:16:49 +0000 (22:16 +0000)
committerDana Jansens <danakj@orodu.net>
Thu, 3 Apr 2003 22:16:49 +0000 (22:16 +0000)
openbox/parse.l

index bab976c4129c1c8457353adf82281e72169a4edd..427a55cdf2b8799e0b23edb2c47c9dc41a502d7b 100644 (file)
@@ -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])
 
 %%
This page took 0.02158 seconds and 4 git commands to generate.