cacao  Release 0.1.03-dev
Compute And Control For Adaptive Optics
calc_bison.h
Go to the documentation of this file.
1 /* A Bison parser, made by GNU Bison 3.4.1. */
2 
3 /* Bison interface for Yacc-like parsers in C
4 
5  Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2019 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 /* Undocumented macros, especially those whose name start with YY_,
35  are private implementation details. Do not rely on them. */
36 
37 #ifndef YY_YY_HOME_OGUYON_SRC_CACAO_SRC_COMMANDLINEINTERFACE_CALC_BISON_H_INCLUDED
38 # define YY_YY_HOME_OGUYON_SRC_CACAO_SRC_COMMANDLINEINTERFACE_CALC_BISON_H_INCLUDED
39 /* Debug traces. */
40 #ifndef YYDEBUG
41 # define YYDEBUG 0
42 #endif
43 #if YYDEBUG
44 extern int yydebug;
45 #endif
46 
47 /* Token type. */
48 #ifndef YYTOKENTYPE
49 # define YYTOKENTYPE
51  {
52  TKNUMl = 258,
53  TKNUMf = 259,
54  TKNUMd = 260,
55  TKVAR = 261,
56  TKNVAR = 262,
57  TKIMAGE = 263,
58  TKCOMMAND = 264,
59  TKFUNC_d_d = 265,
60  TKFUNC_dd_d = 266,
61  TKFUNC_ddd_d = 267,
62  TKFUNC_im_d = 268,
63  TKFUNC_imd_d = 269,
64  NEG = 270
65  };
66 #endif
67 
68 /* Value type. */
69 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
70 union YYSTYPE
71 {
72 #line 31 "calc_bison.y"
73 
74  long val_l; /* long */
75  float val_f; /* float */
76  double val_d; /* For returning numbers. */
77  char string[200]; /* For returning strings (variables, images) */
78  double (*fnctptr)(); /* pointer to function -> double */
79 
80 #line 81 "/home/oguyon/src/cacao/src/CommandLineInterface/calc_bison.h"
81 
82 };
83 typedef union YYSTYPE YYSTYPE;
84 # define YYSTYPE_IS_TRIVIAL 1
85 # define YYSTYPE_IS_DECLARED 1
86 #endif
87 
88 
89 extern YYSTYPE yylval;
90 
91 int yyparse (void);
92 
93 #endif /* !YY_YY_HOME_OGUYON_SRC_CACAO_SRC_COMMANDLINEINTERFACE_CALC_BISON_H_INCLUDED */
Definition: calc_bison.h:60
Definition: calc_bison.h:59
Definition: calc_bison.h:52
Definition: calc_bison.h:57
int yyparse(void)
Definition: calc_bison.c:1229
long val_l
Definition: calc_bison.c:161
Definition: calc_bison.h:62
Definition: calc_bison.h:53
Definition: calc_bison.h:64
Definition: calc_bison.h:58
Definition: calc_bison.h:54
float val_f
Definition: calc_bison.c:162
double val_d
Definition: calc_bison.c:163
Definition: calc_bison.c:157
Definition: calc_bison.h:55
Definition: calc_bison.h:61
yytokentype
Definition: calc_bison.c:137
YYSTYPE yylval
Definition: calc_bison.h:56
double(* fnctptr)()
Definition: calc_bison.c:165
Definition: calc_bison.h:63