xref: /netbsd-src/crypto/external/bsd/heimdal/dist/lib/sl/slc-gram.h (revision afab4e300d3a9fb07dd8c80daf53d0feb3345706)
1 /*	$NetBSD: slc-gram.h,v 1.3 2023/06/19 21:41:45 christos Exp $	*/
2 
3 /* A Bison parser, made by GNU Bison 3.8.2.  */
4 
5 /* Bison interface for Yacc-like parsers in C
6 
7    Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2021 Free Software Foundation,
8    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 3 of the License, or
13    (at your option) 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, see <https://www.gnu.org/licenses/>.  */
22 
23 /* As a special exception, you may create a larger work that contains
24    part or all of the Bison parser skeleton and distribute that work
25    under terms of your choice, so long as that work isn't itself a
26    parser generator using the skeleton or a modified version thereof
27    as a parser skeleton.  Alternatively, if you modify or redistribute
28    the parser skeleton itself, you may (at your option) remove this
29    special exception, which will cause the skeleton and the resulting
30    Bison output files to be licensed under the GNU General Public
31    License without this special exception.
32 
33    This special exception was added by the Free Software Foundation in
34    version 2.2 of Bison.  */
35 
36 /* DO NOT RELY ON FEATURES THAT ARE NOT DOCUMENTED in the manual,
37    especially those whose name start with YY_ or yy_.  They are
38    private implementation details that can be changed or removed.  */
39 
40 #ifndef YY_YY_SLC_GRAM_H_INCLUDED
41 # define YY_YY_SLC_GRAM_H_INCLUDED
42 /* Debug traces.  */
43 #ifndef YYDEBUG
44 # define YYDEBUG 0
45 #endif
46 #if YYDEBUG
47 extern int yydebug;
48 #endif
49 
50 /* Token kinds.  */
51 #ifndef YYTOKENTYPE
52 # define YYTOKENTYPE
53   enum yytokentype
54   {
55     YYEMPTY = -2,
56     YYEOF = 0,                     /* "end of file"  */
57     YYerror = 256,                 /* error  */
58     YYUNDEF = 257,                 /* "invalid token"  */
59     LITERAL = 258,                 /* LITERAL  */
60     STRING = 259                   /* STRING  */
61   };
62   typedef enum yytokentype yytoken_kind_t;
63 #endif
64 /* Token kinds.  */
65 #define YYEMPTY -2
66 #define YYEOF 0
67 #define YYerror 256
68 #define YYUNDEF 257
69 #define LITERAL 258
70 #define STRING 259
71 
72 /* Value type.  */
73 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
74 union YYSTYPE
75 {
76 #line 57 "slc-gram.y"
77 
78 	char *string;
79 	struct assignment *assignment;
80 
81 #line 80 "slc-gram.h"
82 
83 };
84 typedef union YYSTYPE YYSTYPE;
85 # define YYSTYPE_IS_TRIVIAL 1
86 # define YYSTYPE_IS_DECLARED 1
87 #endif
88 
89 
90 extern YYSTYPE yylval;
91 
92 
93 int yyparse (void);
94 
95 
96 #endif /* !YY_YY_SLC_GRAM_H_INCLUDED  */
97