aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_l.l
diff options
context:
space:
mode:
Diffstat (limited to 'rcfile_l.l')
-rw-r--r--rcfile_l.l8
1 files changed, 8 insertions, 0 deletions
diff --git a/rcfile_l.l b/rcfile_l.l
index d1f1c36f..d86f790b 100644
--- a/rcfile_l.l
+++ b/rcfile_l.l
@@ -130,6 +130,14 @@ remote(folder)? {
yylval.sval = (char *) xstrdup(buf);
return STRING;
}
+\'[^\']*\' {
+ char buf[MSGBUFSIZE];
+
+ yytext[strlen(yytext)-1] = '\0';
+ escapes(yytext+1, buf);
+ yylval.sval = (char *) xstrdup(buf);
+ return STRING;
+ }
[^=;:, \t\r\n]+ {
char buf[MSGBUFSIZE];