1 /* A Bison parser, made by GNU Bison 2.1. */ 2 3 /* Skeleton parser for Yacc-like parsing with Bison, 4 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005 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., 51 Franklin Street, Fifth Floor, 19 Boston, MA 02110-1301, 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_ID = 258, 33 T_PARAM = 259, 34 T_STRING = 260, 35 T_OP_ARROW = 261 36 }; 37 #endif 38 /* Tokens. */ 39 #define T_ID 258 40 #define T_PARAM 259 41 #define T_STRING 260 42 #define T_OP_ARROW 261 43 44 45 46 47 #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED) 48 #line 66 "l2_spec_parse.y" 49 typedef union YYSTYPE { 50 char *cpValue; 51 l2_channel_t *chChannel; 52 unsigned int nLevels; 53 } YYSTYPE; 54 /* Line 1447 of yacc.c. */ 55 #line 56 "l2_spec_parse.h" 56 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ 57 # define YYSTYPE_IS_DECLARED 1 58 # define YYSTYPE_IS_TRIVIAL 1 59 #endif 60 61 62 63 #if ! defined (YYLTYPE) && ! defined (YYLTYPE_IS_DECLARED) 64 typedef struct YYLTYPE 65 { 66 int first_line; 67 int first_column; 68 int last_line; 69 int last_column; 70 } YYLTYPE; 71 # define yyltype YYLTYPE /* obsolescent; will be withdrawn */ 72 # define YYLTYPE_IS_DECLARED 1 73 # define YYLTYPE_IS_TRIVIAL 1 74 #endif 75 76 77 78 79