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 | |
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
-rw-r--r-- | NEWS | 8 | ||||
-rw-r--r-- | rcfile_l.l | 8 |
2 files changed, 16 insertions, 0 deletions
@@ -1,8 +1,16 @@ + To do: + +* Warn user that fetchmailconf autoprobe may take a while? (It can hang for + 10 or 12 minutes if it hits a firewall that drops SYN packets sent to denied + ports.) Release Notes: fetchmail-4.7.6 (): * Henrik Storner's fix for mimedecode +* ' now works as a string quote in. fetchmailrc syntax, just like ". + +There are 255 people on fetchmail-friends and 331 on fetchmail-announce. fetchmail-4.7.5 (Sat Jan 9 17:01:13 EST 1999): * Issue proper logout after running fetchmail -c @@ -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]; |