diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1999-01-10 22:26:56 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1999-01-10 22:26:56 +0000 |
commit | 2bf8f54273a45e770318d6a7b161ecc5dc9782a2 (patch) | |
tree | 73927d40dd60bf423ad9f86fa9e1ce2d75671b77 /rcfile_l.l | |
parent | 0d1602f81764904fbd0daca7af8bf0d0a0730d89 (diff) | |
download | fetchmail-2bf8f54273a45e770318d6a7b161ecc5dc9782a2.tar.gz fetchmail-2bf8f54273a45e770318d6a7b161ecc5dc9782a2.tar.bz2 fetchmail-2bf8f54273a45e770318d6a7b161ecc5dc9782a2.zip |
Make ' work as string quote.
svn path=/trunk/; revision=2352
Diffstat (limited to 'rcfile_l.l')
-rw-r--r-- | rcfile_l.l | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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]; |