Borderbasix

parser.h
Go to the documentation of this file.
1 /*********************************************************************
2 * This file is part of the source code of BORDERBASIX software. *
3 * (C) B. Mourrain, INRIA *
4 **********************************************************************
5 History:
6 $Id: parser.h,v 1.1.1.1 2006/10/06 08:01:40 trebuche Exp $
7 **********************************************************************/
8 #ifndef _lexer_lex_
9 #define _lexer_lex_
10 #include <string.h>
11 
12 extern char *myinput;
13 extern char *myinputptr; /* current position in myinput */
14 extern char * myinputlim; /* end of data */
15 extern char * yylval;
16 
17 #undef YY_INPUT
18 #define YY_INPUT(b, r, ms) ( r= my_yyinput(b, ms))
19 
20 #ifndef min
21 //#define min(a, b) ((a>b)?b:a)
22 #endif //
23 
24 #define COEF 10
25 #define XID 11
26 #define SUM 12
27 #define MINUS 13
28 #define MULT 14
29 #define TERMINATOR 15
30 
31 #endif // /* _lexer_lex_ */
char * yylval
char * myinputlim
char * myinput
char * myinputptr
Home  |  Download & InstallContributions