diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2010-02-10 14:59:26 +0100 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2010-02-10 14:59:26 +0100 |
commit | fae9be7782a161bdf93c83884d62941a34cbe518 (patch) | |
tree | 7be7983247aa8fa8adc7bd923eb483c621957651 /conf | |
parent | 7d1966689f3f748d8bfa36eef64ced6a750ecb47 (diff) | |
parent | 0efd646278987df023586d85817a848c2bb39a1d (diff) | |
download | bird-fae9be7782a161bdf93c83884d62941a34cbe518.tar bird-fae9be7782a161bdf93c83884d62941a34cbe518.zip |
Merge commit 'origin/master' into new
Diffstat (limited to 'conf')
-rw-r--r-- | conf/cf-lex.l | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/conf/cf-lex.l b/conf/cf-lex.l index c68a42e..04b0c60 100644 --- a/conf/cf-lex.l +++ b/conf/cf-lex.l @@ -131,7 +131,11 @@ WHITE [ \t] return NUM; } -{ALPHA}{ALNUM}* { +({ALPHA}{ALNUM}*|[']({ALNUM}|[-])*[']) { + if(*yytext == '\'') { + yytext[yyleng-1] = 0; + yytext++; + } unsigned int h = cf_hash(yytext); struct keyword *k = kw_hash[h & (KW_HASH_SIZE-1)]; while (k) |