Developer documentation

parser.hpp
Go to the documentation of this file.
1 /*********************************************************************
2 * This file is part of the source code of realroot software. *
3 * (C) B. Mourrain, GALAAD, INRIA, *
4 **********************************************************************
5 History:
6 $Id: parser.hpp,v 1.1 2005/07/11 11:23:12 mourrain Exp $
7 **********************************************************************/
8 #ifndef realroot_parser_hpp
9 #define realroot_parser_hpp
10 #include <string>
11 
12 //======================================================================
13 namespace mmx {
14 //======================================================================
15 
16 #define COEF 10
17 #define XID 11
18 #define SUM 12
19 #define MINUS 13
20 #define MULT 14
21 #define TERMINATE 15
22 #define SEPARATOR 16
23 #define BLIST 17
24 #define ELIST 18
25 
26 } //namespace mmx
27 //======================================================================
28 # ifndef YYLEX
29 # define YYLEX
30 extern "C" int yylex(void);
31 extern "C" char *yylval;
32 // extern "C" char *yyunput;
33 # endif // YYLEX
34 extern "C" char *synaps_input;
35 extern "C" char *synaps_inputptr; /* current position in myinput */
36 //char *yytext; /* current position in myinput */
37 extern "C" char *synaps_inputlim; /* end of data */
38 
39 
40 //======================================================================
41 #endif // realroot_BASE_PARSER_H
int yylex(void)
char * yylval
Definition: parser.hpp:31
char * synaps_inputlim
Definition: parser.hpp:37
char * synaps_input
Definition: parser.hpp:34
char * synaps_inputptr
Definition: parser.hpp:35
Definition: array.hpp:12
Home