mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
Fix autogroup so name,class doesn't need to be quoted.
ok okan@ on an older version of this diff
This commit is contained in:
parent
d328f63c7d
commit
b9db4486da
11
parse.y
11
parse.y
@ -157,6 +157,17 @@ main : FONTNAME STRING {
|
||||
conf_autogroup(conf, $2, NULL, $3);
|
||||
free($3);
|
||||
}
|
||||
| AUTOGROUP NUMBER STRING ',' STRING {
|
||||
if ($2 < 0 || $2 > 9) {
|
||||
yyerror("invalid autogroup");
|
||||
free($3);
|
||||
free($5);
|
||||
YYERROR;
|
||||
}
|
||||
conf_autogroup(conf, $2, $3, $5);
|
||||
free($3);
|
||||
free($5);
|
||||
}
|
||||
| IGNORE STRING {
|
||||
conf_ignore(conf, $2);
|
||||
free($2);
|
||||
|
Loading…
Reference in New Issue
Block a user