PIPS
sl_gram.h
Go to the documentation of this file.
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_SLX_Y_TAB_H_INCLUDED
39 # define YY_SLX_Y_TAB_H_INCLUDED
40 /* Debug traces. */
41 #ifndef YYDEBUG
42 # define YYDEBUG 0
43 #endif
44 #if YYDEBUG
45 extern int slx_debug;
46 #endif
47 
48 /* Token kinds. */
49 #ifndef YYTOKENTYPE
50 # define YYTOKENTYPE
52  {
53  YYEMPTY = -2,
54  YYEOF = 0, /* "end of file" */
55  YYerror = 256, /* error */
56  YYUNDEF = 257, /* "invalid token" */
57  ACCFERM = 1, /* ACCFERM */
58  ACCOUVR = 2, /* ACCOUVR */
59  CONSTANTE = 3, /* CONSTANTE */
60  EGAL = 4, /* EGAL */
61  IDENT = 5, /* IDENT */
62  INF = 6, /* INF */
63  INFEGAL = 7, /* INFEGAL */
64  MOINS = 8, /* MOINS */
65  PLUS = 9, /* PLUS */
66  SUP = 10, /* SUP */
67  SUPEGAL = 11, /* SUPEGAL */
68  VAR = 12, /* VAR */
69  VIRG = 13 /* VIRG */
70  };
71  typedef enum yytokentype yytoken_kind_t;
72 #endif
73 /* Token kinds. */
74 #define YYEMPTY -2
75 #define YYEOF 0
76 #define YYerror 256
77 #define YYUNDEF 257
78 #define ACCFERM 1
79 #define ACCOUVR 2
80 #define CONSTANTE 3
81 #define EGAL 4
82 #define IDENT 5
83 #define INF 6
84 #define INFEGAL 7
85 #define MOINS 8
86 #define PLUS 9
87 #define SUP 10
88 #define SUPEGAL 11
89 #define VAR 12
90 #define VIRG 13
91 
92 /* Value type. */
93 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
94 union YYSTYPE
95 {
96 #line 70 "sl_gram.y"
97 
98  Value Value;
100 
101 #line 102 "y.tab.h"
102 
103 };
104 typedef union YYSTYPE YYSTYPE;
105 # define YYSTYPE_IS_TRIVIAL 1
106 # define YYSTYPE_IS_DECLARED 1
107 #endif
108 
109 
110 extern YYSTYPE slx_lval;
111 
112 
113 int slx_parse (void);
114 
115 
116 #endif /* !YY_SLX_Y_TAB_H_INCLUDED */
int Value
yytokentype
Definition: genread.h:52
#define IDENT
Definition: sl_gram.h:82
#define PLUS
Definition: sl_gram.h:86
#define INF
Definition: sl_gram.h:83
#define ACCOUVR
Definition: sl_gram.h:79
#define INFEGAL
Definition: sl_gram.h:84
#define SUPEGAL
Definition: sl_gram.h:88
#define YYEOF
Definition: sl_gram.h:75
#define ACCFERM
Definition: sl_gram.h:78
#define CONSTANTE
Definition: sl_gram.h:80
#define YYerror
Definition: sl_gram.h:76
#define YYUNDEF
Definition: sl_gram.h:77
#define VIRG
Definition: sl_gram.h:90
#define EGAL
Definition: sl_gram.h:81
#define MOINS
Definition: sl_gram.h:85
#define SUP
Definition: sl_gram.h:87
#define VAR
Definition: sl_gram.h:89
enum yytokentype yytoken_kind_t
Definition: sl_gram.h:71
YYSTYPE slx_lval
int slx_parse(void)
#define YYEMPTY
Token kinds.
Definition: sl_gram.h:74
Value type.
Definition: genread.h:115
Value Value
Definition: sc_gram.c:212
Variable Variable
Definition: sc_gram.c:213
void * Variable
arithmetique is a requirement for vecteur, but I do not want to inforce it in all pips files....
Definition: vecteur-local.h:60