aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_l.l
diff options
context:
space:
mode:
Diffstat (limited to 'rcfile_l.l')
-rw-r--r--rcfile_l.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/rcfile_l.l b/rcfile_l.l
index 1968b994..f5281f78 100644
--- a/rcfile_l.l
+++ b/rcfile_l.l
@@ -49,12 +49,12 @@ nofetchall { yylval.flag = -1; return KW_FETCHALL; }
(#.*)?\n { prc_lineno++; return KW_EOL; }
-[^ \t\r\n#]+ { yylval.sval = (char *) strdup(yytext); return PARAM_STRING; }
-\"[^\"]*\"` {
+\"[^\"]*\" {
yytext[strlen(yytext)-1] = '\0';
yylval.sval = (char *) strdup(yytext+1);
return PARAM_STRING;
}
+[^ \t\r\n#]+ { yylval.sval = (char *) strdup(yytext); return PARAM_STRING; }
[ \t\r]+ ; /* whitespace */