diff options
author | Graham Madarasz <graham@lindenlab.com> | 2013-05-10 12:15:25 -0700 |
---|---|---|
committer | Graham Madarasz <graham@lindenlab.com> | 2013-05-10 12:15:25 -0700 |
commit | 5717bcf4ae74b53b515c5f13027fed4475e65c9a (patch) | |
tree | 9b798deac11cc872f341047a9d9c830048f4e965 /indra | |
parent | 5687b0c4df5c28cb6aa6cb33cf0d2c4bbe1b912e (diff) |
MAINT-2672 Make windows flex/bison inputs identical to other platforms to make bison >= 2.7 work
Diffstat (limited to 'indra')
-rwxr-xr-x | indra/lscript/lscript_compile/indra.l | 8 | ||||
-rwxr-xr-x | indra/lscript/lscript_compile/indra.y | 11 |
2 files changed, 0 insertions, 19 deletions
diff --git a/indra/lscript/lscript_compile/indra.l b/indra/lscript/lscript_compile/indra.l index ab0d31ec46..c5d11af22b 100755 --- a/indra/lscript/lscript_compile/indra.l +++ b/indra/lscript/lscript_compile/indra.l @@ -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 %} diff --git a/indra/lscript/lscript_compile/indra.y b/indra/lscript/lscript_compile/indra.y index 8df0e8ad83..a0a034d21c 100755 --- a/indra/lscript/lscript_compile/indra.y +++ b/indra/lscript/lscript_compile/indra.y @@ -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 |