// $Id$ /* A Bison parser, made by GNU Bison 1.875c. */ /* Skeleton parser for Yacc-like parsing with Bison, Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003 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 TAO_YYTOKENTYPE # define TAO_YYTOKENTYPE /* Put the tokens into the symbol table, so that GDB and other debuggers know about them. */ enum tao_yytokentype { IDENTIFIER = 258, IDL_CONST = 259, IDL_MODULE = 260, IDL_INTERFACE = 261, IDL_TYPEDEF = 262, IDL_LONG = 263, IDL_SHORT = 264, IDL_UNSIGNED = 265, IDL_DOUBLE = 266, IDL_FLOAT = 267, IDL_CHAR = 268, IDL_WCHAR = 269, IDL_OCTET = 270, IDL_BOOLEAN = 271, IDL_FIXED = 272, IDL_ANY = 273, IDL_OBJECT = 274, IDL_STRUCT = 275, IDL_UNION = 276, IDL_SWITCH = 277, IDL_ENUM = 278, IDL_SEQUENCE = 279, IDL_STRING = 280, IDL_WSTRING = 281, IDL_EXCEPTION = 282, IDL_CASE = 283, IDL_DEFAULT = 284, IDL_READONLY = 285, IDL_ATTRIBUTE = 286, IDL_ONEWAY = 287, IDL_IDEMPOTENT = 288, IDL_VOID = 289, IDL_IN = 290, IDL_OUT = 291, IDL_INOUT = 292, IDL_RAISES = 293, IDL_CONTEXT = 294, IDL_NATIVE = 295, IDL_LOCAL = 296, IDL_ABSTRACT = 297, IDL_CUSTOM = 298, IDL_FACTORY = 299, IDL_PRIVATE = 300, IDL_PUBLIC = 301, IDL_SUPPORTS = 302, IDL_TRUNCATABLE = 303, IDL_VALUETYPE = 304, IDL_COMPONENT = 305, IDL_CONSUMES = 306, IDL_EMITS = 307, IDL_EVENTTYPE = 308, IDL_FINDER = 309, IDL_GETRAISES = 310, IDL_HOME = 311, IDL_IMPORT = 312, IDL_MULTIPLE = 313, IDL_PRIMARYKEY = 314, IDL_PROVIDES = 315, IDL_PUBLISHES = 316, IDL_SETRAISES = 317, IDL_TYPEID = 318, IDL_TYPEPREFIX = 319, IDL_USES = 320, IDL_MANAGES = 321, IDL_INTEGER_LITERAL = 322, IDL_UINTEGER_LITERAL = 323, IDL_STRING_LITERAL = 324, IDL_CHARACTER_LITERAL = 325, IDL_FLOATING_PT_LITERAL = 326, IDL_TRUETOK = 327, IDL_FALSETOK = 328, IDL_SCOPE_DELIMITOR = 329, IDL_LEFT_SHIFT = 330, IDL_RIGHT_SHIFT = 331, IDL_WCHAR_LITERAL = 332, IDL_WSTRING_LITERAL = 333 }; #endif #define IDENTIFIER 258 #define IDL_CONST 259 #define IDL_MODULE 260 #define IDL_INTERFACE 261 #define IDL_TYPEDEF 262 #define IDL_LONG 263 #define IDL_SHORT 264 #define IDL_UNSIGNED 265 #define IDL_DOUBLE 266 #define IDL_FLOAT 267 #define IDL_CHAR 268 #define IDL_WCHAR 269 #define IDL_OCTET 270 #define IDL_BOOLEAN 271 #define IDL_FIXED 272 #define IDL_ANY 273 #define IDL_OBJECT 274 #define IDL_STRUCT 275 #define IDL_UNION 276 #define IDL_SWITCH 277 #define IDL_ENUM 278 #define IDL_SEQUENCE 279 #define IDL_STRING 280 #define IDL_WSTRING 281 #define IDL_EXCEPTION 282 #define IDL_CASE 283 #define IDL_DEFAULT 284 #define IDL_READONLY 285 #define IDL_ATTRIBUTE 286 #define IDL_ONEWAY 287 #define IDL_IDEMPOTENT 288 #define IDL_VOID 289 #define IDL_IN 290 #define IDL_OUT 291 #define IDL_INOUT 292 #define IDL_RAISES 293 #define IDL_CONTEXT 294 #define IDL_NATIVE 295 #define IDL_LOCAL 296 #define IDL_ABSTRACT 297 #define IDL_CUSTOM 298 #define IDL_FACTORY 299 #define IDL_PRIVATE 300 #define IDL_PUBLIC 301 #define IDL_SUPPORTS 302 #define IDL_TRUNCATABLE 303 #define IDL_VALUETYPE 304 #define IDL_COMPONENT 305 #define IDL_CONSUMES 306 #define IDL_EMITS 307 #define IDL_EVENTTYPE 308 #define IDL_FINDER 309 #define IDL_GETRAISES 310 #define IDL_HOME 311 #define IDL_IMPORT 312 #define IDL_MULTIPLE 313 #define IDL_PRIMARYKEY 314 #define IDL_PROVIDES 315 #define IDL_PUBLISHES 316 #define IDL_SETRAISES 317 #define IDL_TYPEID 318 #define IDL_TYPEPREFIX 319 #define IDL_USES 320 #define IDL_MANAGES 321 #define IDL_INTEGER_LITERAL 322 #define IDL_UINTEGER_LITERAL 323 #define IDL_STRING_LITERAL 324 #define IDL_CHARACTER_LITERAL 325 #define IDL_FLOATING_PT_LITERAL 326 #define IDL_TRUETOK 327 #define IDL_FALSETOK 328 #define IDL_SCOPE_DELIMITOR 329 #define IDL_LEFT_SHIFT 330 #define IDL_RIGHT_SHIFT 331 #define IDL_WCHAR_LITERAL 332 #define IDL_WSTRING_LITERAL 333 #if ! defined (TAO_YYSTYPE) && ! defined (TAO_YYSTYPE_IS_DECLARED) typedef union TAO_YYSTYPE { AST_Decl *dcval; /* Decl value */ UTL_StrList *slval; /* String list */ UTL_NameList *nlval; /* Name list */ UTL_ExprList *elval; /* Expression list */ UTL_LabelList *llval; /* Label list */ UTL_DeclList *dlval; /* Declaration list */ FE_InterfaceHeader *ihval; /* Interface header */ FE_OBVHeader *vhval; /* Valuetype header */ FE_EventHeader *ehval; /* Event header */ FE_ComponentHeader *chval; /* Component header */ FE_HomeHeader *hhval; /* Home header */ AST_Expression *exval; /* Expression value */ AST_UnionLabel *ulval; /* Union label */ AST_Field *ffval; /* Field value */ AST_Field::Visibility vival; /* N/A, pub or priv */ AST_Expression::ExprType etval; /* Expression type */ AST_Argument::Direction dival; /* Argument direction */ AST_Operation::Flags ofval; /* Operation flags */ FE_Declarator *deval; /* Declarator value */ idl_bool bval; /* Boolean value */ long ival; /* Long value */ idl_uns_long uival; /* Unsigned long value */ double dval; /* Double value */ float fval; /* Float value */ char cval; /* Char value */ ACE_CDR::WChar wcval; /* WChar value */ UTL_String *sval; /* String value */ char *wsval; /* WString value */ char *strval; /* char * value */ Identifier *idval; /* Identifier */ UTL_IdList *idlist; /* Identifier list */ } TAO_YYSTYPE; /* Line 1275 of yacc.c. */ # define tao_yystype TAO_YYSTYPE /* obsolescent; will be withdrawn */ # define TAO_YYSTYPE_IS_DECLARED 1 # define TAO_YYSTYPE_IS_TRIVIAL 1 #endif extern TAO_YYSTYPE tao_yylval;