1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222
|
/* A Bison parser, made by GNU Bison 1.875d. */
/* Skeleton parser for Yacc-like parsing with Bison,
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
/* As a special exception, when this file is copied by Bison into a
Bison output file, you may use that output file without restriction.
This special exception was added by the Free Software Foundation
in version 1.24 of Bison. */
/* Tokens. */
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
/* Put the tokens into the symbol table, so that GDB and other debuggers
know about them. */
enum yytokentype {
TK_DOC = 258,
TK_EXPORTEDDOC = 259,
TK_MAKEFILE = 260,
TK_ACCESSCODE = 261,
TK_PREINITCODE = 262,
TK_POSTINITCODE = 263,
TK_MODCODE = 264,
TK_TYPECODE = 265,
TK_PREPYCODE = 266,
TK_COPYING = 267,
TK_MAPPEDTYPE = 268,
TK_CODEBLOCK = 269,
TK_IF = 270,
TK_END = 271,
TK_NAME = 272,
TK_PATHNAME = 273,
TK_STRING = 274,
TK_VIRTUALCATCHERCODE = 275,
TK_METHODCODE = 276,
TK_FROMTYPE = 277,
TK_TOTYPE = 278,
TK_TOSUBCLASS = 279,
TK_INCLUDE = 280,
TK_OPTINCLUDE = 281,
TK_IMPORT = 282,
TK_MODHEADERCODE = 283,
TK_TYPEHEADERCODE = 284,
TK_MODULE = 285,
TK_CMODULE = 286,
TK_CLASS = 287,
TK_STRUCT = 288,
TK_PUBLIC = 289,
TK_PROTECTED = 290,
TK_PRIVATE = 291,
TK_SIGNALS = 292,
TK_SLOTS = 293,
TK_BOOL = 294,
TK_SHORT = 295,
TK_INT = 296,
TK_LONG = 297,
TK_FLOAT = 298,
TK_DOUBLE = 299,
TK_CHAR = 300,
TK_VOID = 301,
TK_PYOBJECT = 302,
TK_PYTUPLE = 303,
TK_PYLIST = 304,
TK_PYDICT = 305,
TK_PYCALLABLE = 306,
TK_PYSLICE = 307,
TK_VIRTUAL = 308,
TK_ENUM = 309,
TK_UNSIGNED = 310,
TK_SCOPE = 311,
TK_LOGICAL_OR = 312,
TK_CONST = 313,
TK_STATIC = 314,
TK_SIPSIGNAL = 315,
TK_SIPSLOT = 316,
TK_SIPRXCON = 317,
TK_SIPRXDIS = 318,
TK_SIPSLOTCON = 319,
TK_SIPSLOTDIS = 320,
TK_NUMBER = 321,
TK_REAL = 322,
TK_TYPEDEF = 323,
TK_NAMESPACE = 324,
TK_TIMELINE = 325,
TK_PLATFORMS = 326,
TK_FEATURE = 327,
TK_LICENSE = 328,
TK_QCHAR = 329,
TK_TRUE = 330,
TK_FALSE = 331,
TK_OPERATOR = 332,
TK_THROW = 333,
TK_QOBJECT = 334
};
#endif
#define TK_DOC 258
#define TK_EXPORTEDDOC 259
#define TK_MAKEFILE 260
#define TK_ACCESSCODE 261
#define TK_PREINITCODE 262
#define TK_POSTINITCODE 263
#define TK_MODCODE 264
#define TK_TYPECODE 265
#define TK_PREPYCODE 266
#define TK_COPYING 267
#define TK_MAPPEDTYPE 268
#define TK_CODEBLOCK 269
#define TK_IF 270
#define TK_END 271
#define TK_NAME 272
#define TK_PATHNAME 273
#define TK_STRING 274
#define TK_VIRTUALCATCHERCODE 275
#define TK_METHODCODE 276
#define TK_FROMTYPE 277
#define TK_TOTYPE 278
#define TK_TOSUBCLASS 279
#define TK_INCLUDE 280
#define TK_OPTINCLUDE 281
#define TK_IMPORT 282
#define TK_MODHEADERCODE 283
#define TK_TYPEHEADERCODE 284
#define TK_MODULE 285
#define TK_CMODULE 286
#define TK_CLASS 287
#define TK_STRUCT 288
#define TK_PUBLIC 289
#define TK_PROTECTED 290
#define TK_PRIVATE 291
#define TK_SIGNALS 292
#define TK_SLOTS 293
#define TK_BOOL 294
#define TK_SHORT 295
#define TK_INT 296
#define TK_LONG 297
#define TK_FLOAT 298
#define TK_DOUBLE 299
#define TK_CHAR 300
#define TK_VOID 301
#define TK_PYOBJECT 302
#define TK_PYTUPLE 303
#define TK_PYLIST 304
#define TK_PYDICT 305
#define TK_PYCALLABLE 306
#define TK_PYSLICE 307
#define TK_VIRTUAL 308
#define TK_ENUM 309
#define TK_UNSIGNED 310
#define TK_SCOPE 311
#define TK_LOGICAL_OR 312
#define TK_CONST 313
#define TK_STATIC 314
#define TK_SIPSIGNAL 315
#define TK_SIPSLOT 316
#define TK_SIPRXCON 317
#define TK_SIPRXDIS 318
#define TK_SIPSLOTCON 319
#define TK_SIPSLOTDIS 320
#define TK_NUMBER 321
#define TK_REAL 322
#define TK_TYPEDEF 323
#define TK_NAMESPACE 324
#define TK_TIMELINE 325
#define TK_PLATFORMS 326
#define TK_FEATURE 327
#define TK_LICENSE 328
#define TK_QCHAR 329
#define TK_TRUE 330
#define TK_FALSE 331
#define TK_OPERATOR 332
#define TK_THROW 333
#define TK_QOBJECT 334
#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
#line 90 "parser.y"
typedef union YYSTYPE {
char qchar;
char *text;
long number;
double real;
argDef memArg;
signatureDef signature;
signatureDef *optsignature;
throwArgs *throwlist;
codeBlock *codeb;
valueDef value;
valueDef *valp;
optFlags optflags;
optFlag flag;
scopedNameDef *scpvalp;
fcallDef fcall;
int boolean;
} YYSTYPE;
/* Line 1285 of yacc.c. */
#line 214 "parser.h"
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
# define YYSTYPE_IS_TRIVIAL 1
#endif
extern YYSTYPE yylval;
|