[e2b0232] | 1 | /* A Bison parser, made by GNU Bison 2.1. */ |
---|
[6a18893] | 2 | |
---|
| 3 | /* Skeleton parser for Yacc-like parsing with Bison, |
---|
[e2b0232] | 4 | Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
---|
[6a18893] | 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 |
---|
[e2b0232] | 18 | Foundation, Inc., 51 Franklin Street, Fifth Floor, |
---|
| 19 | Boston, MA 02110-1301, USA. */ |
---|
[6a18893] | 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 | TOK_BIGENDIAN = 258, |
---|
| 33 | TOK_LITTLEENDIAN = 259, |
---|
| 34 | TOK_NEXT = 260, |
---|
| 35 | TOK_OUTPUT_INT = 261, |
---|
| 36 | TOK_OUTPUT_HEX = 262, |
---|
| 37 | TOK_OUTPUT_IPV4 = 263, |
---|
| 38 | TOK_OUTPUT_FLAG = 264, |
---|
| 39 | TOK_CONSTANT = 265, |
---|
| 40 | TOK_IDENTIFIER = 266, |
---|
| 41 | TOK_OUTPUT_MAC = 267, |
---|
| 42 | TOK_OUTPUT_NONE = 268 |
---|
| 43 | }; |
---|
[14b2010] | 44 | #endif |
---|
[e2b0232] | 45 | /* Tokens. */ |
---|
[6a18893] | 46 | #define TOK_BIGENDIAN 258 |
---|
| 47 | #define TOK_LITTLEENDIAN 259 |
---|
| 48 | #define TOK_NEXT 260 |
---|
| 49 | #define TOK_OUTPUT_INT 261 |
---|
| 50 | #define TOK_OUTPUT_HEX 262 |
---|
| 51 | #define TOK_OUTPUT_IPV4 263 |
---|
| 52 | #define TOK_OUTPUT_FLAG 264 |
---|
| 53 | #define TOK_CONSTANT 265 |
---|
| 54 | #define TOK_IDENTIFIER 266 |
---|
| 55 | #define TOK_OUTPUT_MAC 267 |
---|
| 56 | #define TOK_OUTPUT_NONE 268 |
---|
| 57 | |
---|
| 58 | |
---|
| 59 | |
---|
| 60 | |
---|
| 61 | #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED) |
---|
[9d6b5cd] | 62 | #line 27 "parser.y" |
---|
[6a18893] | 63 | typedef union YYSTYPE { |
---|
| 64 | int intval; |
---|
| 65 | char *textval; |
---|
| 66 | element_t *ptr; |
---|
| 67 | } YYSTYPE; |
---|
[e2b0232] | 68 | /* Line 1447 of yacc.c. */ |
---|
| 69 | #line 70 "parser.h" |
---|
[6a18893] | 70 | # define yystype YYSTYPE /* obsolescent; will be withdrawn */ |
---|
| 71 | # define YYSTYPE_IS_DECLARED 1 |
---|
| 72 | # define YYSTYPE_IS_TRIVIAL 1 |
---|
| 73 | #endif |
---|
| 74 | |
---|
| 75 | extern YYSTYPE yylval; |
---|
| 76 | |
---|
| 77 | |
---|
| 78 | |
---|