summaryrefslogtreecommitdiffstats
path: root/contrib/binutils/binutils/defparse.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/binutils/binutils/defparse.h')
-rw-r--r--contrib/binutils/binutils/defparse.h139
1 files changed, 103 insertions, 36 deletions
diff --git a/contrib/binutils/binutils/defparse.h b/contrib/binutils/binutils/defparse.h
index 71a8275..0eea9b9 100644
--- a/contrib/binutils/binutils/defparse.h
+++ b/contrib/binutils/binutils/defparse.h
@@ -1,44 +1,111 @@
-#ifndef BISON_Y_TAB_H
-# define BISON_Y_TAB_H
+/* A Bison parser, made by GNU Bison 2.1. */
-#ifndef YYSTYPE
-typedef union {
+/* 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;
-# define YYSTYPE yystype
+} 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
-# define NAME 257
-# define LIBRARY 258
-# define DESCRIPTION 259
-# define STACKSIZE 260
-# define HEAPSIZE 261
-# define CODE 262
-# define DATA 263
-# define SECTIONS 264
-# define EXPORTS 265
-# define IMPORTS 266
-# define VERSIONK 267
-# define BASE 268
-# define CONSTANT 269
-# define READ 270
-# define WRITE 271
-# define EXECUTE 272
-# define SHARED 273
-# define NONSHARED 274
-# define NONAME 275
-# define PRIVATE 276
-# define SINGLE 277
-# define MULTIPLE 278
-# define INITINSTANCE 279
-# define INITGLOBAL 280
-# define TERMINSTANCE 281
-# define TERMGLOBAL 282
-# define ID 283
-# define NUMBER 284
-
extern YYSTYPE yylval;
-#endif /* not BISON_Y_TAB_H */
+
+
OpenPOWER on IntegriCloud