aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/lscript/lscript_compile/indra.l
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:04 -0500
committerJacek Antonelli2008-08-15 23:45:04 -0500
commit117e22047c5752352342d64e3fb7ce00a4eb8113 (patch)
treee32de2cfba0dda8705ae528fcd1fbe23ba075685 /linden/indra/lscript/lscript_compile/indra.l
parentSecond Life viewer sources 1.18.0.6 (diff)
downloadmeta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.zip
meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.gz
meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.bz2
meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.xz
Second Life viewer sources 1.18.1.2
Diffstat (limited to 'linden/indra/lscript/lscript_compile/indra.l')
-rw-r--r--linden/indra/lscript/lscript_compile/indra.l9
1 files changed, 8 insertions, 1 deletions
diff --git a/linden/indra/lscript/lscript_compile/indra.l b/linden/indra/lscript/lscript_compile/indra.l
index c219cec..0beffe5 100644
--- a/linden/indra/lscript/lscript_compile/indra.l
+++ b/linden/indra/lscript/lscript_compile/indra.l
@@ -1,3 +1,4 @@
1
1N [0-9] 2N [0-9]
2L [a-zA-Z_] 3L [a-zA-Z_]
3H [a-fA-F0-9] 4H [a-fA-F0-9]
@@ -41,6 +42,12 @@ void parse_string();
41#define YYLMAX 16384 42#define YYLMAX 16384
42#define YY_NEVER_INTERACTIVE 1 /* stops flex from calling isatty() */ 43#define YY_NEVER_INTERACTIVE 1 /* stops flex from calling isatty() */
43 44
45#ifdef ECHO
46#undef ECHO
47#endif
48
49#define ECHO do { } while (0)
50
44#if defined(__cplusplus) 51#if defined(__cplusplus)
45extern "C" { int yylex( void ); } 52extern "C" { int yylex( void ); }
46extern "C" { int yyparse( void ); } 53extern "C" { int yyparse( void ); }
@@ -750,7 +757,7 @@ BOOL lscript_compile(char *filename, BOOL is_god_like = FALSE)
750 757
751S32 yywrap() 758S32 yywrap()
752{ 759{
753#ifdef FLEX_SCANNER 760#if defined(FLEX_SCANNER) && !defined(LL_WINDOWS)
754 // get gcc to stop complaining about lack of use of yyunput 761 // get gcc to stop complaining about lack of use of yyunput
755 (void) yyunput; 762 (void) yyunput;
756#endif 763#endif