From d34eb7f4f7f8e93f56d0f3a1d5f95c0fdf8535f1 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 22 Sep 1999 12:29:20 +0000 Subject: Allow `antispam -1' svn path=/trunk/; revision=2576 --- rcfile_l.l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rcfile_l.l') 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]; -- cgit v1.2.3