MAINT-2672 Make windows flex/bison inputs identical to other platforms to make bison >= 2.7 work

meow-7.2.2
Graham Madarasz 2013-05-10 12:15:25 -07:00
parent 5687b0c4df
commit 5717bcf4ae
2 changed files with 0 additions and 19 deletions

View File

@ -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
%}

View File

@ -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