"Fossies" - the Fresh Open Source Software Archive

Member "cfitsio-4.0.0/eval_tab.h" (20 May 2021, 5138 Bytes) of package /linux/misc/cfitsio-4.0.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "eval_tab.h" see the Fossies "Dox" file reference documentation and the latest Fossies "Diffs" side-by-side code changes report: 3.49_vs_4.0.0.

    1 /* A Bison parser, made by GNU Bison 3.7.4.  */
    2 
    3 /* Bison interface for Yacc-like parsers in C
    4 
    5    Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2020 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 <http://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 FF_ or ff_.  They are
   36    private implementation details that can be changed or removed.  */
   37 
   38 #ifndef FF_FF_Y_TAB_H_INCLUDED
   39 # define FF_FF_Y_TAB_H_INCLUDED
   40 /* Debug traces.  */
   41 #ifndef FFDEBUG
   42 # define FFDEBUG 0
   43 #endif
   44 #if FFDEBUG
   45 extern int ffdebug;
   46 #endif
   47 
   48 /* Token kinds.  */
   49 #ifndef FFTOKENTYPE
   50 # define FFTOKENTYPE
   51   enum fftokentype
   52   {
   53     FFEMPTY = -2,
   54     FFEOF = 0,                     /* "end of file"  */
   55     FFerror = 256,                 /* error  */
   56     FFUNDEF = 257,                 /* "invalid token"  */
   57     BOOLEAN = 258,                 /* BOOLEAN  */
   58     LONG = 259,                    /* LONG  */
   59     DOUBLE = 260,                  /* DOUBLE  */
   60     STRING = 261,                  /* STRING  */
   61     BITSTR = 262,                  /* BITSTR  */
   62     FUNCTION = 263,                /* FUNCTION  */
   63     BFUNCTION = 264,               /* BFUNCTION  */
   64     IFUNCTION = 265,               /* IFUNCTION  */
   65     GTIFILTER = 266,               /* GTIFILTER  */
   66     GTIOVERLAP = 267,              /* GTIOVERLAP  */
   67     REGFILTER = 268,               /* REGFILTER  */
   68     COLUMN = 269,                  /* COLUMN  */
   69     BCOLUMN = 270,                 /* BCOLUMN  */
   70     SCOLUMN = 271,                 /* SCOLUMN  */
   71     BITCOL = 272,                  /* BITCOL  */
   72     ROWREF = 273,                  /* ROWREF  */
   73     NULLREF = 274,                 /* NULLREF  */
   74     SNULLREF = 275,                /* SNULLREF  */
   75     OR = 276,                      /* OR  */
   76     AND = 277,                     /* AND  */
   77     EQ = 278,                      /* EQ  */
   78     NE = 279,                      /* NE  */
   79     GT = 280,                      /* GT  */
   80     LT = 281,                      /* LT  */
   81     LTE = 282,                     /* LTE  */
   82     GTE = 283,                     /* GTE  */
   83     XOR = 284,                     /* XOR  */
   84     POWER = 285,                   /* POWER  */
   85     NOT = 286,                     /* NOT  */
   86     INTCAST = 287,                 /* INTCAST  */
   87     FLTCAST = 288,                 /* FLTCAST  */
   88     UMINUS = 289,                  /* UMINUS  */
   89     ACCUM = 290,                   /* ACCUM  */
   90     DIFF = 291                     /* DIFF  */
   91   };
   92   typedef enum fftokentype fftoken_kind_t;
   93 #endif
   94 /* Token kinds.  */
   95 #define FFEMPTY -2
   96 #define FFEOF 0
   97 #define FFerror 256
   98 #define FFUNDEF 257
   99 #define BOOLEAN 258
  100 #define LONG 259
  101 #define DOUBLE 260
  102 #define STRING 261
  103 #define BITSTR 262
  104 #define FUNCTION 263
  105 #define BFUNCTION 264
  106 #define IFUNCTION 265
  107 #define GTIFILTER 266
  108 #define GTIOVERLAP 267
  109 #define REGFILTER 268
  110 #define COLUMN 269
  111 #define BCOLUMN 270
  112 #define SCOLUMN 271
  113 #define BITCOL 272
  114 #define ROWREF 273
  115 #define NULLREF 274
  116 #define SNULLREF 275
  117 #define OR 276
  118 #define AND 277
  119 #define EQ 278
  120 #define NE 279
  121 #define GT 280
  122 #define LT 281
  123 #define LTE 282
  124 #define GTE 283
  125 #define XOR 284
  126 #define POWER 285
  127 #define NOT 286
  128 #define INTCAST 287
  129 #define FLTCAST 288
  130 #define UMINUS 289
  131 #define ACCUM 290
  132 #define DIFF 291
  133 
  134 /* Value type.  */
  135 #if ! defined FFSTYPE && ! defined FFSTYPE_IS_DECLARED
  136 union FFSTYPE
  137 {
  138 #line 199 "eval.y"
  139 
  140     int    Node;        /* Index of Node */
  141     double dbl;         /* real value    */
  142     long   lng;         /* integer value */
  143     char   log;         /* logical value */
  144     char   str[MAX_STRLEN];    /* string value  */
  145 
  146 #line 147 "y.tab.h"
  147 
  148 };
  149 typedef union FFSTYPE FFSTYPE;
  150 # define FFSTYPE_IS_TRIVIAL 1
  151 # define FFSTYPE_IS_DECLARED 1
  152 #endif
  153 
  154 
  155 extern FFSTYPE fflval;
  156 
  157 int ffparse (void);
  158 
  159 #endif /* !FF_FF_Y_TAB_H_INCLUDED  */