Home | History | Annotate | Line # | Download | only in sl
slc-gram.h revision 1.2.4.2
      1 /*	$NetBSD: slc-gram.h,v 1.2.4.2 2020/04/08 14:03:14 martin 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      LITERAL = 258,
     45      STRING = 259
     46    };
     47 #endif
     48 /* Tokens.  */
     49 #define LITERAL 258
     50 #define STRING 259
     51 
     52 
     53 
     54 
     55 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
     56 typedef union YYSTYPE
     57 #line 57 "slc-gram.y"
     58 {
     59 	char *string;
     60 	struct assignment *assignment;
     61 }
     62 /* Line 1529 of yacc.c.  */
     63 #line 62 "slc-gram.h"
     64 	YYSTYPE;
     65 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
     66 # define YYSTYPE_IS_DECLARED 1
     67 # define YYSTYPE_IS_TRIVIAL 1
     68 #endif
     69 
     70 extern YYSTYPE yylval;
     71 
     72