summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf')
-rw-r--r--conf/cf-lex.l5
1 files changed, 4 insertions, 1 deletions
diff --git a/conf/cf-lex.l b/conf/cf-lex.l
index 3fe3c2e..a99acdc 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;