MAINT-2672 Make windows flex/bison inputs identical to other platforms to make bison >= 2.7 work
parent
5687b0c4df
commit
5717bcf4ae
|
|
@ -79,17 +79,9 @@ void parse_string();
|
|||
#define yyfree indra_free
|
||||
|
||||
|
||||
#if LL_DARWIN
|
||||
int yyparse( void );
|
||||
int yylex( void );
|
||||
int yyerror(const char *fmt, ...);
|
||||
#else
|
||||
#if defined(__cplusplus)
|
||||
extern "C" { int yyparse( void ); }
|
||||
extern "C" { int yylex( void ); }
|
||||
extern "C" { int yyerror(const char *fmt, ...); }
|
||||
#endif
|
||||
#endif
|
||||
|
||||
%}
|
||||
|
||||
|
|
|
|||
|
|
@ -2,12 +2,6 @@
|
|||
#include "linden_common.h"
|
||||
#include "lscript_tree.h"
|
||||
|
||||
#if !LL_DARWIN
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#endif
|
||||
|
||||
int yylex(void);
|
||||
int yyparse( void );
|
||||
int yyerror(const char *fmt, ...);
|
||||
|
|
@ -22,11 +16,6 @@
|
|||
#pragma warning( disable : 4065 ) // warning: switch statement contains 'default' but no 'case' labels
|
||||
#endif
|
||||
|
||||
#if !LL_DARWIN
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
%}
|
||||
|
||||
%union
|
||||
|
|
|
|||
Loading…
Reference in New Issue