diff options
Diffstat (limited to 'indra/lscript/lscript_compile/indra.y')
-rwxr-xr-x | indra/lscript/lscript_compile/indra.y | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/lscript/lscript_compile/indra.y b/indra/lscript/lscript_compile/indra.y index a0a034d21c..e4b10ffdd9 100755 --- a/indra/lscript/lscript_compile/indra.y +++ b/indra/lscript/lscript_compile/indra.y @@ -2,6 +2,10 @@ #include "linden_common.h" #include "lscript_tree.h" + #ifdef __cplusplus + extern "C" { + #endif + int yylex(void); int yyparse( void ); int yyerror(const char *fmt, ...); @@ -16,6 +20,9 @@ #pragma warning( disable : 4065 ) // warning: switch statement contains 'default' but no 'case' labels #endif + #ifdef __cplusplus + } + #endif %} %union |