URI: 
       gram.h - enscript - GNU Enscript
  HTML git clone git://thinkerwim.org/enscript.git
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
       gram.h (4894B)
       ---
            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_GRAM_H_INCLUDED
           39 # define YY_YY_GRAM_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     tSYMBOL = 258,                 /* tSYMBOL  */
           58     tREGEXP = 259,                 /* tREGEXP  */
           59     tSTRING = 260,                 /* tSTRING  */
           60     tINTEGER = 261,                /* tINTEGER  */
           61     tREAL = 262,                   /* tREAL  */
           62     tSUB = 263,                    /* tSUB  */
           63     tSTATE = 264,                  /* tSTATE  */
           64     tSTART = 265,                  /* tSTART  */
           65     tSTARTRULES = 266,             /* tSTARTRULES  */
           66     tNAMERULES = 267,              /* tNAMERULES  */
           67     tBEGIN = 268,                  /* tBEGIN  */
           68     tEND = 269,                    /* tEND  */
           69     tRETURN = 270,                 /* tRETURN  */
           70     tIF = 271,                     /* tIF  */
           71     tELSE = 272,                   /* tELSE  */
           72     tLOCAL = 273,                  /* tLOCAL  */
           73     tWHILE = 274,                  /* tWHILE  */
           74     tFOR = 275,                    /* tFOR  */
           75     tEXTENDS = 276,                /* tEXTENDS  */
           76     tADDASSIGN = 277,              /* tADDASSIGN  */
           77     tSUBASSIGN = 278,              /* tSUBASSIGN  */
           78     tMULASSIGN = 279,              /* tMULASSIGN  */
           79     tDIVASSIGN = 280,              /* tDIVASSIGN  */
           80     tOR = 281,                     /* tOR  */
           81     tAND = 282,                    /* tAND  */
           82     tEQ = 283,                     /* tEQ  */
           83     tNE = 284,                     /* tNE  */
           84     tGE = 285,                     /* tGE  */
           85     tLE = 286,                     /* tLE  */
           86     tDIV = 287,                    /* tDIV  */
           87     tPLUSPLUS = 288,               /* tPLUSPLUS  */
           88     tMINUSMINUS = 289              /* tMINUSMINUS  */
           89   };
           90   typedef enum yytokentype yytoken_kind_t;
           91 #endif
           92 /* Token kinds.  */
           93 #define YYEMPTY -2
           94 #define YYEOF 0
           95 #define YYerror 256
           96 #define YYUNDEF 257
           97 #define tSYMBOL 258
           98 #define tREGEXP 259
           99 #define tSTRING 260
          100 #define tINTEGER 261
          101 #define tREAL 262
          102 #define tSUB 263
          103 #define tSTATE 264
          104 #define tSTART 265
          105 #define tSTARTRULES 266
          106 #define tNAMERULES 267
          107 #define tBEGIN 268
          108 #define tEND 269
          109 #define tRETURN 270
          110 #define tIF 271
          111 #define tELSE 272
          112 #define tLOCAL 273
          113 #define tWHILE 274
          114 #define tFOR 275
          115 #define tEXTENDS 276
          116 #define tADDASSIGN 277
          117 #define tSUBASSIGN 278
          118 #define tMULASSIGN 279
          119 #define tDIVASSIGN 280
          120 #define tOR 281
          121 #define tAND 282
          122 #define tEQ 283
          123 #define tNE 284
          124 #define tGE 285
          125 #define tLE 286
          126 #define tDIV 287
          127 #define tPLUSPLUS 288
          128 #define tMINUSMINUS 289
          129 
          130 /* Value type.  */
          131 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
          132 union YYSTYPE
          133 {
          134 #line 34 "gram.y"
          135 
          136   List *lst;
          137   Node *node;
          138   Cons *cons;
          139   Stmt *stmt;
          140   Expr *expr;
          141 
          142 #line 143 "gram.h"
          143 
          144 };
          145 typedef union YYSTYPE YYSTYPE;
          146 # define YYSTYPE_IS_TRIVIAL 1
          147 # define YYSTYPE_IS_DECLARED 1
          148 #endif
          149 
          150 
          151 extern YYSTYPE yylval;
          152 
          153 
          154 int yyparse (void);
          155 
          156 
          157 #endif /* !YY_YY_GRAM_H_INCLUDED  */