From 35d898862014f2c7e88024f3eae35db20741c7bb Mon Sep 17 00:00:00 2001 From: Michael Banack Date: Tue, 13 Apr 2010 00:29:50 +0200 Subject: Consistently call SETSTATE rather than BEGIN. --- rcfile_l.l | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; + } [^=;:, \t\r\n]+ { char *in = xstrdup(yytext); -- cgit v1.2.3