1 2 /* A Bison parser, made by GNU Bison 2.4.1. */ 3 4 /* Skeleton interface for Bison's Yacc-like parsers in C 5 6 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 7 Free Software Foundation, Inc. 8 9 This program is free software: you can redistribute it and/or modify 10 it under the terms of the GNU General Public License as published by 11 the Free Software Foundation, either version 3 of the License, or 12 (at your option) any later version. 13 14 This program is distributed in the hope that it will be useful, 15 but WITHOUT ANY WARRANTY; without even the implied warranty of 16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 GNU General Public License for more details. 18 19 You should have received a copy of the GNU General Public License 20 along with this program. If not, see <http://www.gnu.org/licenses/>. */ 21 22 /* As a special exception, you may create a larger work that contains 23 part or all of the Bison parser skeleton and distribute that work 24 under terms of your choice, so long as that work isn't itself a 25 parser generator using the skeleton or a modified version thereof 26 as a parser skeleton. Alternatively, if you modify or redistribute 27 the parser skeleton itself, you may (at your option) remove this 28 special exception, which will cause the skeleton and the resulting 29 Bison output files to be licensed under the GNU General Public 30 License without this special exception. 31 32 This special exception was added by the Free Software Foundation in 33 version 2.2 of Bison. */ 34 35 36 /* Tokens. */ 37 #ifndef YYTOKENTYPE 38 # define YYTOKENTYPE 39 /* Put the tokens into the symbol table, so that GDB and other debuggers 40 know about them. */ 41 enum yytokentype { 42 T_UNIMPORTANT = 258, 43 T_CHARACTER_LITERAL = 259, 44 T_DOUBLE_LITERAL = 260, 45 T_IDENTIFIER = 261, 46 T_INTEGER_LITERAL = 262, 47 T_STRING_LITERAL = 263, 48 T_INCLUDE = 264, 49 T_CLASS = 265, 50 T_STRUCT = 266, 51 T_LEFT_CURLY_BRACKET = 267, 52 T_LEFT_PARANTHESIS = 268, 53 T_RIGHT_CURLY_BRACKET = 269, 54 T_RIGHT_PARANTHESIS = 270, 55 T_COLON = 271, 56 T_SEMICOLON = 272, 57 T_PUBLIC = 273, 58 T_PROTECTED = 274, 59 T_TRIPE_DOT = 275, 60 T_PRIVATE = 276, 61 T_VIRTUAL = 277, 62 T_CONST = 278, 63 T_THROW = 279, 64 T_INLINE = 280, 65 T_FRIEND = 281, 66 T_RETURN = 282, 67 T_SIGNAL = 283, 68 T_SLOT = 284, 69 T_TYPEDEF = 285, 70 T_PLUS = 286, 71 T_MINUS = 287, 72 T_COMMA = 288, 73 T_ASTERISK = 289, 74 T_TILDE = 290, 75 T_LESS = 291, 76 T_GREATER = 292, 77 T_AMPERSAND = 293, 78 T_EXTERN = 294, 79 T_EXTERN_C = 295, 80 T_ACCESS = 296, 81 T_ENUM = 297, 82 T_NAMESPACE = 298, 83 T_USING = 299, 84 T_UNKNOWN = 300, 85 T_TRIPLE_DOT = 301, 86 T_TRUE = 302, 87 T_FALSE = 303, 88 T_STATIC = 304, 89 T_MUTABLE = 305, 90 T_EQUAL = 306, 91 T_SCOPE = 307, 92 T_NULL = 308, 93 T_INT = 309, 94 T_ARRAY_OPEN = 310, 95 T_ARRAY_CLOSE = 311, 96 T_CHAR = 312, 97 T_ULXRMETHODS_AREA = 313, 98 T_ULXRFUNCTION = 314, 99 T_ULXRCTOR_AREA = 315, 100 T_MOCKMETHODS_AREA = 316, 101 T_MOCKCTOR_AREA = 317, 102 T_SIGNED = 318, 103 T_UNSIGNED = 319, 104 T_LONG = 320, 105 T_SHORT = 321, 106 T_FUNOPERATOR = 322, 107 T_MISCOPERATOR = 323, 108 T_SHIFT = 324, 109 T_DCOP = 325, 110 T_DCOP_AREA = 326, 111 T_DCOP_SIGNAL_AREA = 327, 112 T_QOBJECT = 328 113 }; 114 #endif 115 116 117 118 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED 119 typedef union YYSTYPE 120 { 121 122 /* Line 1676 of yacc.c */ 123 #line 70 "yacc.yy" 124 125 long _int; 126 MString *_str; 127 unsigned short _char; 128 double _float; 129 130 131 132 /* Line 1676 of yacc.c */ 133 #line 134 "yacc.hpp" 134 } YYSTYPE; 135 # define YYSTYPE_IS_TRIVIAL 1 136 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ 137 # define YYSTYPE_IS_DECLARED 1 138 #endif 139 140 extern YYSTYPE yylval; 141 142 143