Home | History | Annotate | Line # | Download | only in com_err
parse.h revision 1.2
      1 /*	$NetBSD: parse.h,v 1.2 2019/12/15 22:50:47 christos Exp $	*/
      2 
      3 /* A Bison parser, made by GNU Bison 2.3.  */
      4 
      5 /* Skeleton interface for Bison's Yacc-like parsers in C
      6 
      7    Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
      8    Free Software Foundation, Inc.
      9 
     10    This program is free software; you can redistribute it and/or modify
     11    it under the terms of the GNU General Public License as published by
     12    the Free Software Foundation; either version 2, or (at your option)
     13    any later version.
     14 
     15    This program is distributed in the hope that it will be useful,
     16    but WITHOUT ANY WARRANTY; without even the implied warranty of
     17    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     18    GNU General Public License for more details.
     19 
     20    You should have received a copy of the GNU General Public License
     21    along with this program; if not, write to the Free Software
     22    Foundation, Inc., 51 Franklin Street, Fifth Floor,
     23    Boston, MA 02110-1301, USA.  */
     24 
     25 /* As a special exception, you may create a larger work that contains
     26    part or all of the Bison parser skeleton and distribute that work
     27    under terms of your choice, so long as that work isn't itself a
     28    parser generator using the skeleton or a modified version thereof
     29    as a parser skeleton.  Alternatively, if you modify or redistribute
     30    the parser skeleton itself, you may (at your option) remove this
     31    special exception, which will cause the skeleton and the resulting
     32    Bison output files to be licensed under the GNU General Public
     33    License without this special exception.
     34 
     35    This special exception was added by the Free Software Foundation in
     36    version 2.2 of Bison.  */
     37 
     38 /* Tokens.  */
     39 #ifndef YYTOKENTYPE
     40 # define YYTOKENTYPE
     41    /* Put the tokens into the symbol table, so that GDB and other debuggers
     42       know about them.  */
     43    enum yytokentype {
     44      ET = 258,
     45      INDEX = 259,
     46      PREFIX = 260,
     47      EC = 261,
     48      ID = 262,
     49      END = 263,
     50      STRING = 264,
     51      NUMBER = 265
     52    };
     53 #endif
     54 /* Tokens.  */
     55 #define ET 258
     56 #define INDEX 259
     57 #define PREFIX 260
     58 #define EC 261
     59 #define ID 262
     60 #define END 263
     61 #define STRING 264
     62 #define NUMBER 265
     63 
     64 
     65 
     66 
     67 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
     68 typedef union YYSTYPE
     69 #line 54 "parse.y"
     70 {
     71   char *string;
     72   int number;
     73 }
     74 /* Line 1529 of yacc.c.  */
     75 #line 74 "parse.h"
     76 	YYSTYPE;
     77 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
     78 # define YYSTYPE_IS_DECLARED 1
     79 # define YYSTYPE_IS_TRIVIAL 1
     80 #endif
     81 
     82 extern YYSTYPE yylval;
     83 
     84