/* A Bison parser, made by GNU Bison 2.1. */ /* Skeleton parser for Yacc-like parsing with Bison, Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /* As a special exception, when this file is copied by Bison into a Bison output file, you may use that output file without restriction. This special exception was added by the Free Software Foundation in version 1.24 of Bison. */ /* Tokens. */ #ifndef YYTOKENTYPE # define YYTOKENTYPE /* Put the tokens into the symbol table, so that GDB and other debuggers know about them. */ enum yytokentype { NUMBER = 258, STRING = 259, MACADDR = 260, OUI_VAL = 261, COMMAND = 262, IPADDR = 263, CMD_DEBUG = 264, CMD_DEVICE = 265, CMD_LIST = 266, CMD_THREAD = 267, CMD_STATUS = 268, CMD_QUEUE = 269, CMD_SCAN = 270, CMD_SIZE = 271, CMD_DETAIL = 272, CMD_CONFIG = 273, CMD_CLASSIFY = 274, CMD_QUIT = 275, CMD_HELP = 276, CMD_SNIFFER = 277, CMD_DEFERRED = 278, CMD_PACKET = 279, CMD_SUBMIT = 280 }; #endif /* Tokens. */ #define NUMBER 258 #define STRING 259 #define MACADDR 260 #define OUI_VAL 261 #define COMMAND 262 #define IPADDR 263 #define CMD_DEBUG 264 #define CMD_DEVICE 265 #define CMD_LIST 266 #define CMD_THREAD 267 #define CMD_STATUS 268 #define CMD_QUEUE 269 #define CMD_SCAN 270 #define CMD_SIZE 271 #define CMD_DETAIL 272 #define CMD_CONFIG 273 #define CMD_CLASSIFY 274 #define CMD_QUIT 275 #define CMD_HELP 276 #define CMD_SNIFFER 277 #define CMD_DEFERRED 278 #define CMD_PACKET 279 #define CMD_SUBMIT 280 #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED) #line 43 "CLIParser.y" typedef union YYSTYPE { char *StrVal; int IntVal; TMacAddress *MacVal; unsigned char OuiVal[3]; TIPAddress *IPVal; } YYSTYPE; /* Line 1447 of yacc.c. */ #line 96 "CLIParser.hpp" # define yystype YYSTYPE /* obsolescent; will be withdrawn */ # define YYSTYPE_IS_DECLARED 1 # define YYSTYPE_IS_TRIVIAL 1 #endif extern YYSTYPE clilval; #if ! defined (YYLTYPE) && ! defined (YYLTYPE_IS_DECLARED) typedef struct YYLTYPE { int first_line; int first_column; int last_line; int last_column; } YYLTYPE; # define yyltype YYLTYPE /* obsolescent; will be withdrawn */ # define YYLTYPE_IS_DECLARED 1 # define YYLTYPE_IS_TRIVIAL 1 #endif extern YYLTYPE clilloc;