aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rcfile_l.l5
1 files changed, 4 insertions, 1 deletions
diff --git a/rcfile_l.l b/rcfile_l.l
index b8ee31eb..6d64d041 100644
--- a/rcfile_l.l
+++ b/rcfile_l.l
@@ -41,7 +41,10 @@ int prc_lineno = 1;
return STRING;
}
-"*" { BEGIN(0); return WILDCARD; }
+"*" {
+ SETSTATE(0);
+ return WILDCARD;
+ }
<NAME>[^=;:, \t\r\n]+ {
char *in = xstrdup(yytext);