From: Martin Mares Date: Mon, 15 Nov 1999 11:36:22 +0000 (+0000) Subject: An example of how to define enums. X-Git-Tag: v1.2.0~1454 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d509304b58d7ebf1d53e36a8e656830b409e1e8;p=thirdparty%2Fbird.git An example of how to define enums. --- diff --git a/nest/config.Y b/nest/config.Y index 645946250..6a630b21c 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 idval %type imexport %type rtable