aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_l.l
diff options
context:
space:
mode:
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 bf5379a2..3650ca5a 100644
--- a/rcfile_l.l
+++ b/rcfile_l.l
@@ -199,7 +199,7 @@ options {/* EMPTY */}
(#.*)?\\?\n { prc_lineno++; } /* newline is ignored */
--?[0-9]+/[^a-zA-Z] { yylval.number = atoi(yytext); return NUMBER; }
+-?[0-9]+ { yylval.number = atoi(yytext); return NUMBER; }
[^=;:, \t\r\n]+ {
char buf[MSGBUFSIZE];