1 2 /* A Bison parser, made by GNU Bison 2.4.1. */ 3 4 /* Skeleton interface for Bison's Yacc-like parsers in C 5 6 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 7 Free Software Foundation, Inc. 8 9 This program is free software: you can redistribute it and/or modify 10 it under the terms of the GNU General Public License as published by 11 the Free Software Foundation, either version 3 of the License, or 12 (at your option) any later version. 13 14 This program is distributed in the hope that it will be useful, 15 but WITHOUT ANY WARRANTY; without even the implied warranty of 16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 GNU General Public License for more details. 18 19 You should have received a copy of the GNU General Public License 20 along with this program. If not, see <http://www.gnu.org/licenses/>. */ 21 22 /* As a special exception, you may create a larger work that contains 23 part or all of the Bison parser skeleton and distribute that work 24 under terms of your choice, so long as that work isn't itself a 25 parser generator using the skeleton or a modified version thereof 26 as a parser skeleton. Alternatively, if you modify or redistribute 27 the parser skeleton itself, you may (at your option) remove this 28 special exception, which will cause the skeleton and the resulting 29 Bison output files to be licensed under the GNU General Public 30 License without this special exception. 31 32 This special exception was added by the Free Software Foundation in 33 version 2.2 of Bison. */ 34 35 36 /* Tokens. */ 37 #ifndef YYTOKENTYPE 38 # define YYTOKENTYPE 39 /* Put the tokens into the symbol table, so that GDB and other debuggers 40 know about them. */ 41 enum yytokentype { 42 TOK_LOGIN = 258, 43 TOK_LOGOUT = 259, 44 TOK_STATUS = 260, 45 TOK_STATUS_ALL = 261, 46 TOK_STATUS_TEMP = 262, 47 TOK_STATUS_TEMP_ALL = 263, 48 TOK_STATUS_BEACON = 264, 49 TOK_STATUS_BEACON_ALL = 265, 50 TOK_BEACON_ON = 266, 51 TOK_BEACON_ON_RANGED = 267, 52 TOK_BEACON_OFF = 268, 53 TOK_BEACON_OFF_RANGED = 269, 54 TOK_ON = 270, 55 TOK_ON_RANGED = 271, 56 TOK_ON_ALL = 272, 57 TOK_OFF = 273, 58 TOK_OFF_RANGED = 274, 59 TOK_OFF_ALL = 275, 60 TOK_CYCLE = 276, 61 TOK_CYCLE_RANGED = 277, 62 TOK_CYCLE_ALL = 278, 63 TOK_RESET = 279, 64 TOK_RESET_RANGED = 280, 65 TOK_RESET_ALL = 281, 66 TOK_PING = 282, 67 TOK_SPEC = 283, 68 TOK_EXPECT = 284, 69 TOK_SETPLUGSTATE = 285, 70 TOK_SEND = 286, 71 TOK_DELAY = 287, 72 TOK_FOREACHPLUG = 288, 73 TOK_FOREACHNODE = 289, 74 TOK_IFOFF = 290, 75 TOK_IFON = 291, 76 TOK_OFF_STRING = 292, 77 TOK_ON_STRING = 293, 78 TOK_MAX_PLUG_COUNT = 294, 79 TOK_TIMEOUT = 295, 80 TOK_DEV_TIMEOUT = 296, 81 TOK_PING_PERIOD = 297, 82 TOK_PLUG_NAME = 298, 83 TOK_SCRIPT = 299, 84 TOK_DEVICE = 300, 85 TOK_NODE = 301, 86 TOK_ALIAS = 302, 87 TOK_TCP_WRAPPERS = 303, 88 TOK_LISTEN = 304, 89 TOK_MATCHPOS = 305, 90 TOK_STRING_VAL = 306, 91 TOK_NUMERIC_VAL = 307, 92 TOK_YES = 308, 93 TOK_NO = 309, 94 TOK_BEGIN = 310, 95 TOK_END = 311, 96 TOK_UNRECOGNIZED = 312, 97 TOK_EQUALS = 313 98 }; 99 #endif 100 /* Tokens. */ 101 #define TOK_LOGIN 258 102 #define TOK_LOGOUT 259 103 #define TOK_STATUS 260 104 #define TOK_STATUS_ALL 261 105 #define TOK_STATUS_TEMP 262 106 #define TOK_STATUS_TEMP_ALL 263 107 #define TOK_STATUS_BEACON 264 108 #define TOK_STATUS_BEACON_ALL 265 109 #define TOK_BEACON_ON 266 110 #define TOK_BEACON_ON_RANGED 267 111 #define TOK_BEACON_OFF 268 112 #define TOK_BEACON_OFF_RANGED 269 113 #define TOK_ON 270 114 #define TOK_ON_RANGED 271 115 #define TOK_ON_ALL 272 116 #define TOK_OFF 273 117 #define TOK_OFF_RANGED 274 118 #define TOK_OFF_ALL 275 119 #define TOK_CYCLE 276 120 #define TOK_CYCLE_RANGED 277 121 #define TOK_CYCLE_ALL 278 122 #define TOK_RESET 279 123 #define TOK_RESET_RANGED 280 124 #define TOK_RESET_ALL 281 125 #define TOK_PING 282 126 #define TOK_SPEC 283 127 #define TOK_EXPECT 284 128 #define TOK_SETPLUGSTATE 285 129 #define TOK_SEND 286 130 #define TOK_DELAY 287 131 #define TOK_FOREACHPLUG 288 132 #define TOK_FOREACHNODE 289 133 #define TOK_IFOFF 290 134 #define TOK_IFON 291 135 #define TOK_OFF_STRING 292 136 #define TOK_ON_STRING 293 137 #define TOK_MAX_PLUG_COUNT 294 138 #define TOK_TIMEOUT 295 139 #define TOK_DEV_TIMEOUT 296 140 #define TOK_PING_PERIOD 297 141 #define TOK_PLUG_NAME 298 142 #define TOK_SCRIPT 299 143 #define TOK_DEVICE 300 144 #define TOK_NODE 301 145 #define TOK_ALIAS 302 146 #define TOK_TCP_WRAPPERS 303 147 #define TOK_LISTEN 304 148 #define TOK_MATCHPOS 305 149 #define TOK_STRING_VAL 306 150 #define TOK_NUMERIC_VAL 307 151 #define TOK_YES 308 152 #define TOK_NO 309 153 #define TOK_BEGIN 310 154 #define TOK_END 311 155 #define TOK_UNRECOGNIZED 312 156 #define TOK_EQUALS 313 157 158 159 160 161 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED 162 typedef int YYSTYPE; 163 # define YYSTYPE_IS_TRIVIAL 1 164 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ 165 # define YYSTYPE_IS_DECLARED 1 166 #endif 167 168 extern YYSTYPE yylval; 169 170 171