(root)/
binutils-2.41/
binutils/
defparse.h
       1  /* A Bison parser, made by GNU Bison 3.8.2.  */
       2  
       3  /* Bison interface for Yacc-like parsers in C
       4  
       5     Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2021 Free Software Foundation,
       6     Inc.
       7  
       8     This program is free software: you can redistribute it and/or modify
       9     it under the terms of the GNU General Public License as published by
      10     the Free Software Foundation, either version 3 of the License, or
      11     (at your option) any later version.
      12  
      13     This program is distributed in the hope that it will be useful,
      14     but WITHOUT ANY WARRANTY; without even the implied warranty of
      15     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
      16     GNU General Public License for more details.
      17  
      18     You should have received a copy of the GNU General Public License
      19     along with this program.  If not, see <https://www.gnu.org/licenses/>.  */
      20  
      21  /* As a special exception, you may create a larger work that contains
      22     part or all of the Bison parser skeleton and distribute that work
      23     under terms of your choice, so long as that work isn't itself a
      24     parser generator using the skeleton or a modified version thereof
      25     as a parser skeleton.  Alternatively, if you modify or redistribute
      26     the parser skeleton itself, you may (at your option) remove this
      27     special exception, which will cause the skeleton and the resulting
      28     Bison output files to be licensed under the GNU General Public
      29     License without this special exception.
      30  
      31     This special exception was added by the Free Software Foundation in
      32     version 2.2 of Bison.  */
      33  
      34  /* DO NOT RELY ON FEATURES THAT ARE NOT DOCUMENTED in the manual,
      35     especially those whose name start with YY_ or yy_.  They are
      36     private implementation details that can be changed or removed.  */
      37  
      38  #ifndef YY_YY_DEFPARSE_H_INCLUDED
      39  # define YY_YY_DEFPARSE_H_INCLUDED
      40  /* Debug traces.  */
      41  #ifndef YYDEBUG
      42  # define YYDEBUG 0
      43  #endif
      44  #if YYDEBUG
      45  extern int yydebug;
      46  #endif
      47  
      48  /* Token kinds.  */
      49  #ifndef YYTOKENTYPE
      50  # define YYTOKENTYPE
      51    enum yytokentype
      52    {
      53      YYEMPTY = -2,
      54      YYEOF = 0,                     /* "end of file"  */
      55      YYerror = 256,                 /* error  */
      56      YYUNDEF = 257,                 /* "invalid token"  */
      57      NAME = 258,                    /* NAME  */
      58      LIBRARY = 259,                 /* LIBRARY  */
      59      DESCRIPTION = 260,             /* DESCRIPTION  */
      60      STACKSIZE = 261,               /* STACKSIZE  */
      61      HEAPSIZE = 262,                /* HEAPSIZE  */
      62      CODE = 263,                    /* CODE  */
      63      DATA = 264,                    /* DATA  */
      64      SECTIONS = 265,                /* SECTIONS  */
      65      EXPORTS = 266,                 /* EXPORTS  */
      66      IMPORTS = 267,                 /* IMPORTS  */
      67      VERSIONK = 268,                /* VERSIONK  */
      68      BASE = 269,                    /* BASE  */
      69      CONSTANT = 270,                /* CONSTANT  */
      70      READ = 271,                    /* READ  */
      71      WRITE = 272,                   /* WRITE  */
      72      EXECUTE = 273,                 /* EXECUTE  */
      73      SHARED = 274,                  /* SHARED  */
      74      NONSHARED = 275,               /* NONSHARED  */
      75      NONAME = 276,                  /* NONAME  */
      76      PRIVATE = 277,                 /* PRIVATE  */
      77      SINGLE = 278,                  /* SINGLE  */
      78      MULTIPLE = 279,                /* MULTIPLE  */
      79      INITINSTANCE = 280,            /* INITINSTANCE  */
      80      INITGLOBAL = 281,              /* INITGLOBAL  */
      81      TERMINSTANCE = 282,            /* TERMINSTANCE  */
      82      TERMGLOBAL = 283,              /* TERMGLOBAL  */
      83      EQUAL = 284,                   /* EQUAL  */
      84      ID = 285,                      /* ID  */
      85      NUMBER = 286                   /* NUMBER  */
      86    };
      87    typedef enum yytokentype yytoken_kind_t;
      88  #endif
      89  /* Token kinds.  */
      90  #define YYEMPTY -2
      91  #define YYEOF 0
      92  #define YYerror 256
      93  #define YYUNDEF 257
      94  #define NAME 258
      95  #define LIBRARY 259
      96  #define DESCRIPTION 260
      97  #define STACKSIZE 261
      98  #define HEAPSIZE 262
      99  #define CODE 263
     100  #define DATA 264
     101  #define SECTIONS 265
     102  #define EXPORTS 266
     103  #define IMPORTS 267
     104  #define VERSIONK 268
     105  #define BASE 269
     106  #define CONSTANT 270
     107  #define READ 271
     108  #define WRITE 272
     109  #define EXECUTE 273
     110  #define SHARED 274
     111  #define NONSHARED 275
     112  #define NONAME 276
     113  #define PRIVATE 277
     114  #define SINGLE 278
     115  #define MULTIPLE 279
     116  #define INITINSTANCE 280
     117  #define INITGLOBAL 281
     118  #define TERMINSTANCE 282
     119  #define TERMGLOBAL 283
     120  #define EQUAL 284
     121  #define ID 285
     122  #define NUMBER 286
     123  
     124  /* Value type.  */
     125  #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
     126  union YYSTYPE
     127  {
     128  #line 28 "defparse.y"
     129  
     130    char *id;
     131    const char *id_const;
     132    int number;
     133  
     134  #line 135 "defparse.h"
     135  
     136  };
     137  typedef union YYSTYPE YYSTYPE;
     138  # define YYSTYPE_IS_TRIVIAL 1
     139  # define YYSTYPE_IS_DECLARED 1
     140  #endif
     141  
     142  
     143  extern YYSTYPE yylval;
     144  
     145  
     146  int yyparse (void);
     147  
     148  
     149  #endif /* !YY_YY_DEFPARSE_H_INCLUDED  */