summaryrefslogtreecommitdiff
path: root/indra/lscript/lscript_compile/indra.l
diff options
context:
space:
mode:
authorsimon <none@none>2013-04-23 16:33:55 -0700
committersimon <none@none>2013-04-23 16:33:55 -0700
commitde34ab57cbd29fecc29066a59869dc8cba621561 (patch)
tree38a5336bf23f4ba5954d0bd2558e29351f3101f6 /indra/lscript/lscript_compile/indra.l
parente2eca610459362eda50f6a5edfb9ed5269fd5e51 (diff)
parent4bd3fef6f7018a0092c02aeba61af43265d12ceb (diff)
Merge
Diffstat (limited to 'indra/lscript/lscript_compile/indra.l')
-rw-r--r--indra/lscript/lscript_compile/indra.l8
1 files changed, 7 insertions, 1 deletions
diff --git a/indra/lscript/lscript_compile/indra.l b/indra/lscript/lscript_compile/indra.l
index 0d93f5cba2..ab0d31ec46 100644
--- a/indra/lscript/lscript_compile/indra.l
+++ b/indra/lscript/lscript_compile/indra.l
@@ -79,11 +79,17 @@ 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 yylex( void ); }
extern "C" { int yyparse( void ); }
+extern "C" { int yylex( void ); }
extern "C" { int yyerror(const char *fmt, ...); }
#endif
+#endif
%}