diff options
author | Martin Mares <mj@ucw.cz> | 1999-11-15 11:36:22 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1999-11-15 11:36:22 +0000 |
commit | 7d509304b58d7ebf1d53e36a8e656830b409e1e8 (patch) | |
tree | 67325755c131c71ba7b016b4e838ebe0a0b88929 | |
parent | fd54b602665f71879087faeb0b733fefa9c964bb (diff) |
An example of how to define enums.
-rw-r--r-- | nest/config.Y | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nest/config.Y b/nest/config.Y index 64594625..6a630b21 100644 --- a/nest/config.Y +++ b/nest/config.Y @@ -20,6 +20,9 @@ CF_KEYWORDS(ROUTER, ID, PROTOCOL, PREFERENCE, DISABLED, DEBUG, ALL, OFF, DIRECT) CF_KEYWORDS(INTERFACE, IMPORT, EXPORT, FILTER, NONE, TABLE) CF_KEYWORDS(PASSWORD, FROM, PASSIVE, TO, ID) +CF_ENUM(T_ENUM_RTS, RTS_, DUMMY, STATIC, INHERIT, DEVICE, STATIC_DEVICE, REDIRECT, + RIP, RIP_EXT, OSPF, OSPF_EXT, OSPF_IA, OSPF_BOUNDARY, BGP, PIPE) + %type <i32> idval %type <f> imexport %type <r> rtable |