summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-04-03 22:16:49 +0000
committerDana Jansens <danakj@orodu.net>2003-04-03 22:16:49 +0000
commite974208068e0b4cede25d35fe16b861c307f0bf4 (patch)
tree52d0c5eb53e92bd895add77a670125856c5ddf1d /openbox
parentc0f1e3ae660f55d40b60467d04e0e5647c47a722 (diff)
allow '-' in identifiers
Diffstat (limited to 'openbox')
-rw-r--r--openbox/parse.l2
1 files changed, 1 insertions, 1 deletions
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])
%%