yacc.cc.h
00001 00002 /* A Bison parser, made by GNU Bison 2.4.1. */ 00003 00004 /* Skeleton interface for Bison's Yacc-like parsers in C 00005 00006 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 00007 Free Software Foundation, Inc. 00008 00009 This program is free software: you can redistribute it and/or modify 00010 it under the terms of the GNU General Public License as published by 00011 the Free Software Foundation, either version 3 of the License, or 00012 (at your option) any later version. 00013 00014 This program is distributed in the hope that it will be useful, 00015 but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00017 GNU General Public License for more details. 00018 00019 You should have received a copy of the GNU General Public License 00020 along with this program. If not, see <http://www.gnu.org/licenses/>. */ 00021 00022 /* As a special exception, you may create a larger work that contains 00023 part or all of the Bison parser skeleton and distribute that work 00024 under terms of your choice, so long as that work isn't itself a 00025 parser generator using the skeleton or a modified version thereof 00026 as a parser skeleton. Alternatively, if you modify or redistribute 00027 the parser skeleton itself, you may (at your option) remove this 00028 special exception, which will cause the skeleton and the resulting 00029 Bison output files to be licensed under the GNU General Public 00030 License without this special exception. 00031 00032 This special exception was added by the Free Software Foundation in 00033 version 2.2 of Bison. */ 00034 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 T_UNIMPORTANT = 258, 00043 T_CHARACTER_LITERAL = 259, 00044 T_DOUBLE_LITERAL = 260, 00045 T_IDENTIFIER = 261, 00046 T_INTEGER_LITERAL = 262, 00047 T_STRING_LITERAL = 263, 00048 T_INCLUDE = 264, 00049 T_CLASS = 265, 00050 T_STRUCT = 266, 00051 T_LEFT_CURLY_BRACKET = 267, 00052 T_LEFT_PARANTHESIS = 268, 00053 T_RIGHT_CURLY_BRACKET = 269, 00054 T_RIGHT_PARANTHESIS = 270, 00055 T_COLON = 271, 00056 T_SEMICOLON = 272, 00057 T_PUBLIC = 273, 00058 T_PROTECTED = 274, 00059 T_TRIPE_DOT = 275, 00060 T_PRIVATE = 276, 00061 T_VIRTUAL = 277, 00062 T_CONST = 278, 00063 T_INLINE = 279, 00064 T_FRIEND = 280, 00065 T_RETURN = 281, 00066 T_SIGNAL = 282, 00067 T_SLOT = 283, 00068 T_TYPEDEF = 284, 00069 T_PLUS = 285, 00070 T_MINUS = 286, 00071 T_COMMA = 287, 00072 T_ASTERISK = 288, 00073 T_TILDE = 289, 00074 T_LESS = 290, 00075 T_GREATER = 291, 00076 T_AMPERSAND = 292, 00077 T_EXTERN = 293, 00078 T_EXTERN_C = 294, 00079 T_ACCESS = 295, 00080 T_ENUM = 296, 00081 T_NAMESPACE = 297, 00082 T_USING = 298, 00083 T_UNKNOWN = 299, 00084 T_TRIPLE_DOT = 300, 00085 T_TRUE = 301, 00086 T_FALSE = 302, 00087 T_STATIC = 303, 00088 T_MUTABLE = 304, 00089 T_EQUAL = 305, 00090 T_SCOPE = 306, 00091 T_NULL = 307, 00092 T_INT = 308, 00093 T_ARRAY_OPEN = 309, 00094 T_ARRAY_CLOSE = 310, 00095 T_CHAR = 311, 00096 T_DCOP = 312, 00097 T_DCOP_AREA = 313, 00098 T_DCOP_SIGNAL_AREA = 314, 00099 T_SIGNED = 315, 00100 T_UNSIGNED = 316, 00101 T_LONG = 317, 00102 T_SHORT = 318, 00103 T_FUNOPERATOR = 319, 00104 T_MISCOPERATOR = 320, 00105 T_SHIFT = 321 00106 }; 00107 #endif 00108 00109 00110 00111 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED 00112 typedef union YYSTYPE 00113 { 00114 00115 /* Line 1676 of yacc.c */ 00116 #line 67 "yacc.yy" 00117 00118 long _int; 00119 QString *_str; 00120 unsigned short _char; 00121 double _float; 00122 00123 00124 00125 /* Line 1676 of yacc.c */ 00126 #line 127 "yacc.hh" 00127 } YYSTYPE; 00128 # define YYSTYPE_IS_TRIVIAL 1 00129 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ 00130 # define YYSTYPE_IS_DECLARED 1 00131 #endif 00132 00133 extern YYSTYPE yylval; 00134 00135