Bugfix: Accept underscores in bindsym (Thanks jace)
This commit is contained in:
parent
2a966014a7
commit
4674fb7c0c
|
@ -86,7 +86,7 @@ shift { return TOKSHIFT; }
|
||||||
return QUOTEDSTRING;
|
return QUOTEDSTRING;
|
||||||
}
|
}
|
||||||
<ASSIGN_COND>[^ \t]+ { BEGIN(INITIAL); yylval.string = strdup(yytext); return STR_NG; }
|
<ASSIGN_COND>[^ \t]+ { BEGIN(INITIAL); yylval.string = strdup(yytext); return STR_NG; }
|
||||||
<BINDSYM_AWS_COND>[a-zA-Z0-9]+ { yylval.string = strdup(yytext); return WORD; }
|
<BINDSYM_AWS_COND>[a-zA-Z0-9_]+ { yylval.string = strdup(yytext); return WORD; }
|
||||||
[a-zA-Z]+ { yylval.string = strdup(yytext); return WORD; }
|
[a-zA-Z]+ { yylval.string = strdup(yytext); return WORD; }
|
||||||
. { return (int)yytext[0]; }
|
. { return (int)yytext[0]; }
|
||||||
%%
|
%%
|
||||||
|
|
Loading…
Reference in New Issue