| 1 | /* A Bison parser, made by GNU Bison 1.875.  */
 | 
|---|
| 2 | 
 | 
|---|
| 3 | /* Skeleton parser for Yacc-like parsing with Bison,
 | 
|---|
| 4 |    Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc.
 | 
|---|
| 5 | 
 | 
|---|
| 6 |    This program is free software; you can redistribute it and/or modify
 | 
|---|
| 7 |    it under the terms of the GNU General Public License as published by
 | 
|---|
| 8 |    the Free Software Foundation; either version 2, or (at your option)
 | 
|---|
| 9 |    any later version.
 | 
|---|
| 10 | 
 | 
|---|
| 11 |    This program is distributed in the hope that it will be useful,
 | 
|---|
| 12 |    but WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
|---|
| 13 |    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 | 
|---|
| 14 |    GNU General Public License for more details.
 | 
|---|
| 15 | 
 | 
|---|
| 16 |    You should have received a copy of the GNU General Public License
 | 
|---|
| 17 |    along with this program; if not, write to the Free Software
 | 
|---|
| 18 |    Foundation, Inc., 59 Temple Place - Suite 330,
 | 
|---|
| 19 |    Boston, MA 02111-1307, USA.  */
 | 
|---|
| 20 | 
 | 
|---|
| 21 | /* As a special exception, when this file is copied by Bison into a
 | 
|---|
| 22 |    Bison output file, you may use that output file without restriction.
 | 
|---|
| 23 |    This special exception was added by the Free Software Foundation
 | 
|---|
| 24 |    in version 1.24 of Bison.  */
 | 
|---|
| 25 | 
 | 
|---|
| 26 | /* Tokens.  */
 | 
|---|
| 27 | #ifndef YYTOKENTYPE
 | 
|---|
| 28 | # define YYTOKENTYPE
 | 
|---|
| 29 |    /* Put the tokens into the symbol table, so that GDB and other debuggers
 | 
|---|
| 30 |       know about them.  */
 | 
|---|
| 31 |    enum yytokentype {
 | 
|---|
| 32 |      T_KEYWORD_LEFT = 258,
 | 
|---|
| 33 |      T_ARRAY_LEFT = 259,
 | 
|---|
| 34 |      T_TABLE_LEFT = 260,
 | 
|---|
| 35 |      T_KEYWORD_RIGHT = 261,
 | 
|---|
| 36 |      T_ARRAY_RIGHT = 262,
 | 
|---|
| 37 |      T_TABLE_RIGHT = 263,
 | 
|---|
| 38 |      T_CONCAT = 264,
 | 
|---|
| 39 |      T_STRING = 265,
 | 
|---|
| 40 |      T_QUOTED_STRING = 266
 | 
|---|
| 41 |    };
 | 
|---|
| 42 | #endif
 | 
|---|
| 43 | #define T_KEYWORD_LEFT 258
 | 
|---|
| 44 | #define T_ARRAY_LEFT 259
 | 
|---|
| 45 | #define T_TABLE_LEFT 260
 | 
|---|
| 46 | #define T_KEYWORD_RIGHT 261
 | 
|---|
| 47 | #define T_ARRAY_RIGHT 262
 | 
|---|
| 48 | #define T_TABLE_RIGHT 263
 | 
|---|
| 49 | #define T_CONCAT 264
 | 
|---|
| 50 | #define T_STRING 265
 | 
|---|
| 51 | #define T_QUOTED_STRING 266
 | 
|---|
| 52 | 
 | 
|---|
| 53 | 
 | 
|---|
| 54 | 
 | 
|---|
| 55 | 
 | 
|---|
| 56 | #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
 | 
|---|
| 57 | #line 53 "ipv2_parse.yy"
 | 
|---|
| 58 | typedef union YYSTYPE {
 | 
|---|
| 59 |   char *str;
 | 
|---|
| 60 |   sc::ip_string_list_t *sl;
 | 
|---|
| 61 |   double dbl;
 | 
|---|
| 62 |   } YYSTYPE;
 | 
|---|
| 63 | /* Line 1240 of yacc.c.  */
 | 
|---|
| 64 | #line 64 "ipv2_parse.tmp.hh"
 | 
|---|
| 65 | # define yystype YYSTYPE /* obsolescent; will be withdrawn */
 | 
|---|
| 66 | # define YYSTYPE_IS_DECLARED 1
 | 
|---|
| 67 | # define YYSTYPE_IS_TRIVIAL 1
 | 
|---|
| 68 | #endif
 | 
|---|
| 69 | 
 | 
|---|
| 70 | extern YYSTYPE yylval;
 | 
|---|
| 71 | 
 | 
|---|
| 72 | 
 | 
|---|
| 73 | 
 | 
|---|