aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Banack <bob5972@gmail.com>2010-04-13 00:29:50 +0200
committerMatthias Andree <matthias.andree@gmx.de>2010-04-13 00:59:35 +0200
commit35d898862014f2c7e88024f3eae35db20741c7bb (patch)
tree85ecc36e23cb1f4cfcfad6c9357ce3120e659966
parent7315a8bbf7e0a31e5086b67d723a2d68df10c21b (diff)
downloadfetchmail-35d898862014f2c7e88024f3eae35db20741c7bb.tar.gz
fetchmail-35d898862014f2c7e88024f3eae35db20741c7bb.tar.bz2
fetchmail-35d898862014f2c7e88024f3eae35db20741c7bb.zip
Consistently call SETSTATE rather than BEGIN.
-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);