diff options
author | Martin Mares <mj@ucw.cz> | 2000-04-28 15:12:03 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-04-28 15:12:03 +0000 |
commit | a412f01ea84709b9af0113acc5aa2ce3dad1d292 (patch) | |
tree | 9d8912736984a7faeb723f07213d0b68d690f616 /conf/cf-lex.l | |
parent | 2edb31b097018be00f29cb7647432c4c2c8b99ba (diff) |
Include CF_HDR section in keywords.h as well, so that protocol symbols
can be used in definition of ENUM's.
Diffstat (limited to 'conf/cf-lex.l')
-rw-r--r-- | conf/cf-lex.l | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/conf/cf-lex.l b/conf/cf-lex.l index 483bcaf3..bdf9261d 100644 --- a/conf/cf-lex.l +++ b/conf/cf-lex.l @@ -20,13 +20,13 @@ #include "conf/cf-parse.tab.h" #include "lib/string.h" -static struct keyword { +struct keyword { byte *name; int value; struct keyword *next; -} keyword_list[] = { +}; + #include "conf/keywords.h" - { NULL, -1 } }; #define KW_HASH_SIZE 64 static struct keyword *kw_hash[KW_HASH_SIZE]; |