Checked in Marco's commented out #defines/rejigged struct names to get things
compiling under Windows, will need to check this in future as it may change with regeneration of parser files with lex/yacc.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#ifndef BISON_PARSER_HPP
|
||||
# define BISON_PARSER_HPP
|
||||
|
||||
#ifndef YYSTYPE
|
||||
//#ifndef YYSTYPE
|
||||
typedef union {
|
||||
char *s_value;
|
||||
float f_value;
|
||||
@@ -13,10 +13,10 @@ typedef union {
|
||||
PolygonList *plist;
|
||||
Matrix matrix;
|
||||
int i_value;
|
||||
} yystype;
|
||||
# define YYSTYPE yystype
|
||||
# define YYSTYPE_IS_TRIVIAL 1
|
||||
#endif
|
||||
} YYSTYPE;
|
||||
//# define YYSTYPE yystype
|
||||
//# define YYSTYPE_IS_TRIVIAL 1
|
||||
//#endif
|
||||
# define STRING 257
|
||||
# define QUOTED_STRING 258
|
||||
# define FLOAT 259
|
||||
|
||||
Reference in New Issue
Block a user