00001 /* A Bison parser, made by GNU Bison 1.875. */ 00002 00003 /* Skeleton parser for Yacc-like parsing with Bison, 00004 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc. 00005 00006 This program is free software; you can redistribute it and/or modify 00007 it under the terms of the GNU General Public License as published by 00008 the Free Software Foundation; either version 2, or (at your option) 00009 any later version. 00010 00011 This program is distributed in the hope that it will be useful, 00012 but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 GNU General Public License for more details. 00015 00016 You should have received a copy of the GNU General Public License 00017 along with this program; if not, write to the Free Software 00018 Foundation, Inc., 59 Temple Place - Suite 330, 00019 Boston, MA 02111-1307, USA. */ 00020 00021 /* As a special exception, when this file is copied by Bison into a 00022 Bison output file, you may use that output file without restriction. 00023 This special exception was added by the Free Software Foundation 00024 in version 1.24 of Bison. */ 00025 00026 /* Tokens. */ 00027 #ifndef YYTOKENTYPE 00028 # define YYTOKENTYPE 00029 /* Put the tokens into the symbol table, so that GDB and other debuggers 00030 know about them. */ 00031 enum yytokentype { 00032 T_KEYWORD_LEFT = 258, 00033 T_ARRAY_LEFT = 259, 00034 T_TABLE_LEFT = 260, 00035 T_KEYWORD_RIGHT = 261, 00036 T_ARRAY_RIGHT = 262, 00037 T_TABLE_RIGHT = 263, 00038 T_CONCAT = 264, 00039 T_STRING = 265, 00040 T_QUOTED_STRING = 266 00041 }; 00042 #endif 00043 #define T_KEYWORD_LEFT 258 00044 #define T_ARRAY_LEFT 259 00045 #define T_TABLE_LEFT 260 00046 #define T_KEYWORD_RIGHT 261 00047 #define T_ARRAY_RIGHT 262 00048 #define T_TABLE_RIGHT 263 00049 #define T_CONCAT 264 00050 #define T_STRING 265 00051 #define T_QUOTED_STRING 266 00052 00053 00054 00055 00056 #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED) 00057 #line 53 "ipv2_parse.yy" 00058 typedef union YYSTYPE { 00059 char *str; 00060 sc::ip_string_list_t *sl; 00061 double dbl; 00062 } YYSTYPE; 00063 /* Line 1240 of yacc.c. */ 00064 #line 64 "ipv2_parse.tmp.hh" 00065 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ 00066 # define YYSTYPE_IS_DECLARED 1 00067 # define YYSTYPE_IS_TRIVIAL 1 00068 #endif 00069 00070 extern YYSTYPE yylval; 00071 00072 00073