diff options
Diffstat (limited to 'linden/indra/lscript/lscript_compile/indra.l')
-rw-r--r-- | linden/indra/lscript/lscript_compile/indra.l | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/linden/indra/lscript/lscript_compile/indra.l b/linden/indra/lscript/lscript_compile/indra.l index 8bb26ab..03c8321 100644 --- a/linden/indra/lscript/lscript_compile/indra.l +++ b/linden/indra/lscript/lscript_compile/indra.l | |||
@@ -12,6 +12,7 @@ FS (f|F) | |||
12 | #include "linden_common.h" | 12 | #include "linden_common.h" |
13 | // Deal with the fact that lex/yacc generates unreachable code | 13 | // Deal with the fact that lex/yacc generates unreachable code |
14 | #ifdef LL_WINDOWS | 14 | #ifdef LL_WINDOWS |
15 | #pragma warning (disable : 4018) // warning C4018: signed/unsigned mismatch | ||
15 | #pragma warning (disable : 4702) // warning C4702: unreachable code | 16 | #pragma warning (disable : 4702) // warning C4702: unreachable code |
16 | #endif // LL_WINDOWS | 17 | #endif // LL_WINDOWS |
17 | #include "llmath.h" | 18 | #include "llmath.h" |
@@ -44,7 +45,10 @@ void parse_string(); | |||
44 | 45 | ||
45 | #define YYLMAX 16384 | 46 | #define YYLMAX 16384 |
46 | #define YY_NEVER_INTERACTIVE 1 /* stops flex from calling isatty() */ | 47 | #define YY_NEVER_INTERACTIVE 1 /* stops flex from calling isatty() */ |
47 | 48 | #ifdef LL_WINDOWS | |
49 | #define isatty(x) 0 /* hack for bug in cygwin flex 2.5.35 */ | ||
50 | #endif | ||
51 | |||
48 | #ifdef ECHO | 52 | #ifdef ECHO |
49 | #undef ECHO | 53 | #undef ECHO |
50 | #endif | 54 | #endif |