diff options
Diffstat (limited to 'linden/indra/lscript/lscript_compile/indra.l')
-rw-r--r-- | linden/indra/lscript/lscript_compile/indra.l | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/linden/indra/lscript/lscript_compile/indra.l b/linden/indra/lscript/lscript_compile/indra.l index de5ba11..69e77fb 100644 --- a/linden/indra/lscript/lscript_compile/indra.l +++ b/linden/indra/lscript/lscript_compile/indra.l | |||
@@ -9,13 +9,15 @@ FS (f|F) | |||
9 | %p 5000 | 9 | %p 5000 |
10 | 10 | ||
11 | %{ | 11 | %{ |
12 | #include <stdio.h> | 12 | #include "linden_common.h" |
13 | #include "stdtypes.h" | 13 | // Deal with the fact that lex/yacc generates unreachable code |
14 | #ifdef LL_WINDOWS | ||
15 | #pragma warning (disable : 4702) // warning C4702: unreachable code | ||
16 | #endif // LL_WINDOWS | ||
14 | #include "llmath.h" | 17 | #include "llmath.h" |
15 | #include "lscript_tree.h" | 18 | #include "lscript_tree.h" |
16 | #include "lscript_typecheck.h" | 19 | #include "lscript_typecheck.h" |
17 | #include "lscript_resource.h" | 20 | #include "lscript_resource.h" |
18 | #include "llfile.h" | ||
19 | #if LL_WINDOWS | 21 | #if LL_WINDOWS |
20 | #include "ytab.h" | 22 | #include "ytab.h" |
21 | #else | 23 | #else |