diff options
Diffstat (limited to 'linden/indra/lscript/lscript_compile/indra.l')
-rw-r--r-- | linden/indra/lscript/lscript_compile/indra.l | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/linden/indra/lscript/lscript_compile/indra.l b/linden/indra/lscript/lscript_compile/indra.l index 69e77fb..57aef07 100644 --- a/linden/indra/lscript/lscript_compile/indra.l +++ b/linden/indra/lscript/lscript_compile/indra.l | |||
@@ -651,14 +651,6 @@ int yyerror(const char *fmt, ...) | |||
651 | return 0; | 651 | return 0; |
652 | } | 652 | } |
653 | 653 | ||
654 | #define LL_MKS_YACC 0 | ||
655 | #if LL_WINDOWS && LL_MKS_YACC | ||
656 | int yyinput(void) | ||
657 | { | ||
658 | return input(); | ||
659 | } | ||
660 | #endif | ||
661 | |||
662 | //#define EMERGENCY_DEBUG_PRINTOUTS | 654 | //#define EMERGENCY_DEBUG_PRINTOUTS |
663 | //#define EMIT_CIL_ASSEMBLER | 655 | //#define EMIT_CIL_ASSEMBLER |
664 | 656 | ||
@@ -685,11 +677,9 @@ BOOL lscript_compile(const char* src_filename, const char* dst_filename, | |||
685 | yyout = LLFile::fopen(err_filename, "w"); | 677 | yyout = LLFile::fopen(err_filename, "w"); |
686 | 678 | ||
687 | // Reset the lexer's internal buffering. | 679 | // Reset the lexer's internal buffering. |
688 | #if LL_DARWIN || LL_LINUX || !LL_MKS_YACC | 680 | |
689 | yyrestart(yyin); | 681 | yyrestart(yyin); |
690 | #else | 682 | |
691 | yy_reset(); | ||
692 | #endif | ||
693 | b_parse_ok = !yyparse(); | 683 | b_parse_ok = !yyparse(); |
694 | 684 | ||
695 | if (b_parse_ok) | 685 | if (b_parse_ok) |