]> Dogcows Code - chaz/openbox/blobdiff - plugins/mouse/mouserc_parse.l
better comment parsing
[chaz/openbox] / plugins / mouse / mouserc_parse.l
index 7563c6f3b044bd963bf18d15438a5326ebd05f4f..a72a9d2094768087efaf3c5f199b92c99d8383e5 100644 (file)
@@ -21,12 +21,11 @@ static void addbinding();
 %}
 
 field [A-Za-z0-9][-A-Za-z0-9]*
-sep [ \t]+
 white [ \t]*
 
 %%
 
-^{white}\#.+\n lineno++;
+^{white}\#.*\n lineno++;
 {field} gotfield();
 \n endofline();
 [ \t]
This page took 0.021179 seconds and 4 git commands to generate.