7a815afd9b
exactly as it was on Tue, 7 Aug 2007 00:00:13 +0000. Corresponds to git commit b458c361f01f7a257f897d0961d0a379ee999aaa. This is currently (and most likely forever :) the last commit on this branch.
112 lines
2.8 KiB
C
112 lines
2.8 KiB
C
/* A Bison parser, made by GNU Bison 2.1. */
|
|
|
|
/* Skeleton parser for Yacc-like parsing with Bison,
|
|
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005 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., 51 Franklin Street, Fifth Floor,
|
|
Boston, MA 02110-1301, 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 {
|
|
NAME = 258,
|
|
LIBRARY = 259,
|
|
DESCRIPTION = 260,
|
|
STACKSIZE = 261,
|
|
HEAPSIZE = 262,
|
|
CODE = 263,
|
|
DATA = 264,
|
|
SECTIONS = 265,
|
|
EXPORTS = 266,
|
|
IMPORTS = 267,
|
|
VERSIONK = 268,
|
|
BASE = 269,
|
|
CONSTANT = 270,
|
|
READ = 271,
|
|
WRITE = 272,
|
|
EXECUTE = 273,
|
|
SHARED = 274,
|
|
NONSHARED = 275,
|
|
NONAME = 276,
|
|
PRIVATE = 277,
|
|
SINGLE = 278,
|
|
MULTIPLE = 279,
|
|
INITINSTANCE = 280,
|
|
INITGLOBAL = 281,
|
|
TERMINSTANCE = 282,
|
|
TERMGLOBAL = 283,
|
|
ID = 284,
|
|
NUMBER = 285
|
|
};
|
|
#endif
|
|
/* Tokens. */
|
|
#define NAME 258
|
|
#define LIBRARY 259
|
|
#define DESCRIPTION 260
|
|
#define STACKSIZE 261
|
|
#define HEAPSIZE 262
|
|
#define CODE 263
|
|
#define DATA 264
|
|
#define SECTIONS 265
|
|
#define EXPORTS 266
|
|
#define IMPORTS 267
|
|
#define VERSIONK 268
|
|
#define BASE 269
|
|
#define CONSTANT 270
|
|
#define READ 271
|
|
#define WRITE 272
|
|
#define EXECUTE 273
|
|
#define SHARED 274
|
|
#define NONSHARED 275
|
|
#define NONAME 276
|
|
#define PRIVATE 277
|
|
#define SINGLE 278
|
|
#define MULTIPLE 279
|
|
#define INITINSTANCE 280
|
|
#define INITGLOBAL 281
|
|
#define TERMINSTANCE 282
|
|
#define TERMGLOBAL 283
|
|
#define ID 284
|
|
#define NUMBER 285
|
|
|
|
|
|
|
|
|
|
#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
|
|
#line 27 "defparse.y"
|
|
typedef union YYSTYPE {
|
|
char *id;
|
|
int number;
|
|
} YYSTYPE;
|
|
/* Line 1447 of yacc.c. */
|
|
#line 103 "defparse.h"
|
|
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
|
|
# define YYSTYPE_IS_DECLARED 1
|
|
# define YYSTYPE_IS_TRIVIAL 1
|
|
#endif
|
|
|
|
extern YYSTYPE yylval;
|
|
|
|
|
|
|