/* A Bison parser, made by GNU Bison 1.875c. */
|
/* A Bison parser, made by GNU Bison 1.875c. */
|
|
|
/* Skeleton parser for Yacc-like parsing with Bison,
|
/* Skeleton parser for Yacc-like parsing with Bison,
|
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
|
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
|
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
|
it under the terms of the GNU General Public License as published by
|
the Free Software Foundation; either version 2, or (at your option)
|
the Free Software Foundation; either version 2, or (at your option)
|
any later version.
|
any later version.
|
|
|
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
GNU General Public License for more details.
|
GNU General Public License for more details.
|
|
|
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
Foundation, Inc., 59 Temple Place - Suite 330,
|
Foundation, Inc., 59 Temple Place - Suite 330,
|
Boston, MA 02111-1307, USA. */
|
Boston, MA 02111-1307, USA. */
|
|
|
/* As a special exception, when this file is copied by Bison into a
|
/* As a special exception, when this file is copied by Bison into a
|
Bison output file, you may use that output file without restriction.
|
Bison output file, you may use that output file without restriction.
|
This special exception was added by the Free Software Foundation
|
This special exception was added by the Free Software Foundation
|
in version 1.24 of Bison. */
|
in version 1.24 of Bison. */
|
|
|
/* Tokens. */
|
/* Tokens. */
|
#ifndef YYTOKENTYPE
|
#ifndef YYTOKENTYPE
|
# define YYTOKENTYPE
|
# define YYTOKENTYPE
|
/* Put the tokens into the symbol table, so that GDB and other debuggers
|
/* Put the tokens into the symbol table, so that GDB and other debuggers
|
know about them. */
|
know about them. */
|
enum yytokentype {
|
enum yytokentype {
|
NAME = 258,
|
NAME = 258,
|
LIBRARY = 259,
|
LIBRARY = 259,
|
DESCRIPTION = 260,
|
DESCRIPTION = 260,
|
STACKSIZE = 261,
|
STACKSIZE = 261,
|
HEAPSIZE = 262,
|
HEAPSIZE = 262,
|
CODE = 263,
|
CODE = 263,
|
DATA = 264,
|
DATA = 264,
|
SECTIONS = 265,
|
SECTIONS = 265,
|
EXPORTS = 266,
|
EXPORTS = 266,
|
IMPORTS = 267,
|
IMPORTS = 267,
|
VERSIONK = 268,
|
VERSIONK = 268,
|
BASE = 269,
|
BASE = 269,
|
CONSTANT = 270,
|
CONSTANT = 270,
|
READ = 271,
|
READ = 271,
|
WRITE = 272,
|
WRITE = 272,
|
EXECUTE = 273,
|
EXECUTE = 273,
|
SHARED = 274,
|
SHARED = 274,
|
NONSHARED = 275,
|
NONSHARED = 275,
|
NONAME = 276,
|
NONAME = 276,
|
PRIVATE = 277,
|
PRIVATE = 277,
|
SINGLE = 278,
|
SINGLE = 278,
|
MULTIPLE = 279,
|
MULTIPLE = 279,
|
INITINSTANCE = 280,
|
INITINSTANCE = 280,
|
INITGLOBAL = 281,
|
INITGLOBAL = 281,
|
TERMINSTANCE = 282,
|
TERMINSTANCE = 282,
|
TERMGLOBAL = 283,
|
TERMGLOBAL = 283,
|
ID = 284,
|
ID = 284,
|
NUMBER = 285
|
NUMBER = 285
|
};
|
};
|
#endif
|
#endif
|
#define NAME 258
|
#define NAME 258
|
#define LIBRARY 259
|
#define LIBRARY 259
|
#define DESCRIPTION 260
|
#define DESCRIPTION 260
|
#define STACKSIZE 261
|
#define STACKSIZE 261
|
#define HEAPSIZE 262
|
#define HEAPSIZE 262
|
#define CODE 263
|
#define CODE 263
|
#define DATA 264
|
#define DATA 264
|
#define SECTIONS 265
|
#define SECTIONS 265
|
#define EXPORTS 266
|
#define EXPORTS 266
|
#define IMPORTS 267
|
#define IMPORTS 267
|
#define VERSIONK 268
|
#define VERSIONK 268
|
#define BASE 269
|
#define BASE 269
|
#define CONSTANT 270
|
#define CONSTANT 270
|
#define READ 271
|
#define READ 271
|
#define WRITE 272
|
#define WRITE 272
|
#define EXECUTE 273
|
#define EXECUTE 273
|
#define SHARED 274
|
#define SHARED 274
|
#define NONSHARED 275
|
#define NONSHARED 275
|
#define NONAME 276
|
#define NONAME 276
|
#define PRIVATE 277
|
#define PRIVATE 277
|
#define SINGLE 278
|
#define SINGLE 278
|
#define MULTIPLE 279
|
#define MULTIPLE 279
|
#define INITINSTANCE 280
|
#define INITINSTANCE 280
|
#define INITGLOBAL 281
|
#define INITGLOBAL 281
|
#define TERMINSTANCE 282
|
#define TERMINSTANCE 282
|
#define TERMGLOBAL 283
|
#define TERMGLOBAL 283
|
#define ID 284
|
#define ID 284
|
#define NUMBER 285
|
#define NUMBER 285
|
|
|
|
|
|
|
|
|
#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
|
#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
|
#line 29 "defparse.y"
|
#line 29 "defparse.y"
|
typedef union YYSTYPE {
|
typedef union YYSTYPE {
|
char *id;
|
char *id;
|
int number;
|
int number;
|
} YYSTYPE;
|
} YYSTYPE;
|
/* Line 1275 of yacc.c. */
|
/* Line 1275 of yacc.c. */
|
#line 102 "defparse.h"
|
#line 102 "defparse.h"
|
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
|
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
|
# define YYSTYPE_IS_DECLARED 1
|
# define YYSTYPE_IS_DECLARED 1
|
# define YYSTYPE_IS_TRIVIAL 1
|
# define YYSTYPE_IS_TRIVIAL 1
|
#endif
|
#endif
|
|
|
extern YYSTYPE yylval;
|
extern YYSTYPE yylval;
|
|
|
|
|
|
|
|
|