aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_l.l
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1999-09-22 12:29:20 +0000
committerEric S. Raymond <esr@thyrsus.com>1999-09-22 12:29:20 +0000
commitd34eb7f4f7f8e93f56d0f3a1d5f95c0fdf8535f1 (patch)
treea77701e5f2b0ac000a15e5a232d7c5951afd93fb /rcfile_l.l
parent9434fd80965301e9324264699155ea65400c7485 (diff)
downloadfetchmail-d34eb7f4f7f8e93f56d0f3a1d5f95c0fdf8535f1.tar.gz
fetchmail-d34eb7f4f7f8e93f56d0f3a1d5f95c0fdf8535f1.tar.bz2
fetchmail-d34eb7f4f7f8e93f56d0f3a1d5f95c0fdf8535f1.zip
Allow `antispam -1'
svn path=/trunk/; revision=2576
Diffstat (limited to 'rcfile_l.l')
-rw-r--r--rcfile_l.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/rcfile_l.l b/rcfile_l.l
index 5980a6ce..398d83f0 100644
--- a/rcfile_l.l
+++ b/rcfile_l.l
@@ -167,7 +167,7 @@ options {/* EMPTY */}
(#.*)?\\?\n { prc_lineno++; } /* newline is ignored */
-[0-9]+ { yylval.number = atoi(yytext); return NUMBER; }
+-?[0-9]+ { yylval.number = atoi(yytext); return NUMBER; }
[^=;:, \t\r\n]+ {
char buf[MSGBUFSIZE];