Bugfix: Accept underscores in bindsym (Thanks jace)
This commit is contained in:
parent
c5da7bd266
commit
c0256edd2e
|
@ -87,7 +87,7 @@ shift { return TOKSHIFT; }
|
|||
return QUOTEDSTRING;
|
||||
}
|
||||
<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; }
|
||||
. { return (int)yytext[0]; }
|
||||
%%
|
||||
|
|
Loading…
Reference in New Issue