Snoopy Version 6.0 (Albert)
|
00001 /* A Bison parser, made by GNU Bison 2.3. */ 00002 00003 /* Skeleton interface for Bison's Yacc-like parsers in C 00004 00005 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 00006 Free Software Foundation, Inc. 00007 00008 This program is free software; you can redistribute it and/or modify 00009 it under the terms of the GNU General Public License as published by 00010 the Free Software Foundation; either version 2, or (at your option) 00011 any later version. 00012 00013 This program is distributed in the hope that it will be useful, 00014 but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00016 GNU General Public License for more details. 00017 00018 You should have received a copy of the GNU General Public License 00019 along with this program; if not, write to the Free Software 00020 Foundation, Inc., 51 Franklin Street, Fifth Floor, 00021 Boston, MA 02110-1301, USA. */ 00022 00023 /* As a special exception, you may create a larger work that contains 00024 part or all of the Bison parser skeleton and distribute that work 00025 under terms of your choice, so long as that work isn't itself a 00026 parser generator using the skeleton or a modified version thereof 00027 as a parser skeleton. Alternatively, if you modify or redistribute 00028 the parser skeleton itself, you may (at your option) remove this 00029 special exception, which will cause the skeleton and the resulting 00030 Bison output files to be licensed under the GNU General Public 00031 License without this special exception. 00032 00033 This special exception was added by the Free Software Foundation in 00034 version 2.2 of Bison. */ 00035 00036 /* Tokens. */ 00037 #ifndef YYTOKENTYPE 00038 # define YYTOKENTYPE 00039 /* Put the tokens into the symbol table, so that GDB and other debuggers 00040 know about them. */ 00041 enum yytokentype { 00042 TOK_BOOLEAN = 258, 00043 TOK_INTEGER = 259, 00044 TOK_HEX = 260, 00045 TOK_INTEGER64 = 261, 00046 TOK_HEX64 = 262, 00047 TOK_FLOAT = 263, 00048 TOK_STRING = 264, 00049 TOK_NAME = 265, 00050 TOK_EQUALS = 266, 00051 TOK_NEWLINE = 267, 00052 TOK_ARRAY_START = 268, 00053 TOK_ARRAY_END = 269, 00054 TOK_LIST_START = 270, 00055 TOK_LIST_END = 271, 00056 TOK_COMMA = 272, 00057 TOK_GROUP_START = 273, 00058 TOK_GROUP_END = 274, 00059 TOK_END = 275, 00060 TOK_GARBAGE = 276 00061 }; 00062 #endif 00063 /* Tokens. */ 00064 #define TOK_BOOLEAN 258 00065 #define TOK_INTEGER 259 00066 #define TOK_HEX 260 00067 #define TOK_INTEGER64 261 00068 #define TOK_HEX64 262 00069 #define TOK_FLOAT 263 00070 #define TOK_STRING 264 00071 #define TOK_NAME 265 00072 #define TOK_EQUALS 266 00073 #define TOK_NEWLINE 267 00074 #define TOK_ARRAY_START 268 00075 #define TOK_ARRAY_END 269 00076 #define TOK_LIST_START 270 00077 #define TOK_LIST_END 271 00078 #define TOK_COMMA 272 00079 #define TOK_GROUP_START 273 00080 #define TOK_GROUP_END 274 00081 #define TOK_END 275 00082 #define TOK_GARBAGE 276 00083 00084 00085 00086 00087 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED 00088 typedef union YYSTYPE 00089 #line 73 "grammar.y" 00090 { 00091 long ival; 00092 long long llval; 00093 double fval; 00094 char *sval; 00095 } 00096 /* Line 1489 of yacc.c. */ 00097 #line 98 "grammar.h" 00098 YYSTYPE; 00099 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ 00100 # define YYSTYPE_IS_DECLARED 1 00101 # define YYSTYPE_IS_TRIVIAL 1 00102 #endif 00103 00104 00105