From 506fa1a73eab0c6426f68cd7784c6712898b88f3 Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Sun, 2 May 2010 22:41:40 +0200 Subject: Merge several fixes suggested by Joakim Tjernlund. --- conf/cf-lex.l | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'conf') diff --git a/conf/cf-lex.l b/conf/cf-lex.l index 3fe3c2e6..a99acdc8 100644 --- a/conf/cf-lex.l +++ b/conf/cf-lex.l @@ -77,6 +77,9 @@ int (*cf_read_hook)(byte *buf, unsigned int max); %} %option noyywrap +%option noinput +%option nounput +%option noreject %x COMMENT CCOMM CLI @@ -110,7 +113,7 @@ WHITE [ \t] #endif } -0x{DIGIT}+ { +0x{XIGIT}+ { char *e; long int l; errno = 0; -- cgit v1.2.3