From f7d0daeb0d98a8d0e33e5cd6ee8fe58b10115c41 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 8 Oct 1996 08:34:51 +0000 Subject: Fix the punctuation bug. svn path=/trunk/; revision=251 --- rcfile_l.l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rcfile_l.l') diff --git a/rcfile_l.l b/rcfile_l.l index f5bd41ed..e402f2a5 100644 --- a/rcfile_l.l +++ b/rcfile_l.l @@ -69,7 +69,7 @@ options {/* EMPTY */} yylval.sval = (char *) strdup(yytext+1); return STRING; } -[^ \t\r\n]+ { yylval.sval = (char *) strdup(yytext); return STRING; } +[^;:, \t\r\n]+ { yylval.sval = (char *) strdup(yytext); return STRING; } [ \t\r]+ ; /* whitespace */ -- cgit v1.2.3