diff options
author | Jacek Antonelli | 2008-08-15 23:45:04 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:04 -0500 |
commit | 117e22047c5752352342d64e3fb7ce00a4eb8113 (patch) | |
tree | e32de2cfba0dda8705ae528fcd1fbe23ba075685 /linden/indra/lscript/lscript_compile/indra.l | |
parent | Second Life viewer sources 1.18.0.6 (diff) | |
download | meta-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.l | 9 |
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 | |||
1 | N [0-9] | 2 | N [0-9] |
2 | L [a-zA-Z_] | 3 | L [a-zA-Z_] |
3 | H [a-fA-F0-9] | 4 | H [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) |
45 | extern "C" { int yylex( void ); } | 52 | extern "C" { int yylex( void ); } |
46 | extern "C" { int yyparse( void ); } | 53 | extern "C" { int yyparse( void ); } |
@@ -750,7 +757,7 @@ BOOL lscript_compile(char *filename, BOOL is_god_like = FALSE) | |||
750 | 757 | ||
751 | S32 yywrap() | 758 | S32 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 |