diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2010-05-02 22:41:40 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2010-05-02 22:41:40 +0200 |
commit | 506fa1a73eab0c6426f68cd7784c6712898b88f3 (patch) | |
tree | 3c04d5900a70a026f98a0f20349fd33fde0e4162 /conf/cf-lex.l | |
parent | 6384c7d7aa85d1e593eca30cda48f6677b023cb0 (diff) |
Merge several fixes suggested by Joakim Tjernlund.
Diffstat (limited to 'conf/cf-lex.l')
-rw-r--r-- | conf/cf-lex.l | 5 |
1 files changed, 4 insertions, 1 deletions
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; |