diff options
Diffstat (limited to 'linden/indra/lscript')
14 files changed, 516 insertions, 538 deletions
diff --git a/linden/indra/lscript/lscript_alloc.h b/linden/indra/lscript/lscript_alloc.h index 948eb26..2cdd03d 100644 --- a/linden/indra/lscript/lscript_alloc.h +++ b/linden/indra/lscript/lscript_alloc.h | |||
@@ -118,7 +118,7 @@ inline void bytestream2alloc_entry(LLScriptAllocEntry &entry, U8 *buffer, S32 &o | |||
118 | 118 | ||
119 | // create a heap from the HR to TM | 119 | // create a heap from the HR to TM |
120 | BOOL lsa_create_heap(U8 *heap_start, S32 size); | 120 | BOOL lsa_create_heap(U8 *heap_start, S32 size); |
121 | void lsa_fprint_heap(U8 *buffer, FILE *fp); | 121 | void lsa_fprint_heap(U8 *buffer, LLFILE *fp); |
122 | 122 | ||
123 | void lsa_print_heap(U8 *buffer); | 123 | void lsa_print_heap(U8 *buffer); |
124 | 124 | ||
diff --git a/linden/indra/lscript/lscript_compile/indra.l b/linden/indra/lscript/lscript_compile/indra.l index 03c8321..ba10ef6 100644 --- a/linden/indra/lscript/lscript_compile/indra.l +++ b/linden/indra/lscript/lscript_compile/indra.l | |||
@@ -606,6 +606,11 @@ extern "C" { int yyerror(const char *fmt, ...); } | |||
606 | "CLICK_ACTION_PLAY" { count(); yylval.ival = CLICK_ACTION_PLAY; return(INTEGER_CONSTANT); } | 606 | "CLICK_ACTION_PLAY" { count(); yylval.ival = CLICK_ACTION_PLAY; return(INTEGER_CONSTANT); } |
607 | "CLICK_ACTION_OPEN_MEDIA" { count(); yylval.ival = CLICK_ACTION_OPEN_MEDIA; return(INTEGER_CONSTANT); } | 607 | "CLICK_ACTION_OPEN_MEDIA" { count(); yylval.ival = CLICK_ACTION_OPEN_MEDIA; return(INTEGER_CONSTANT); } |
608 | 608 | ||
609 | "TEXTURE_BLANK" { yylval.sval = new char[UUID_STR_LENGTH]; strcpy(yylval.sval, "5748decc-f629-461c-9a36-a35a221fe21f"); return(STRING_CONSTANT); } | ||
610 | "TEXTURE_DEFAULT" { yylval.sval = new char[UUID_STR_LENGTH]; strcpy(yylval.sval, "8b5fec65-8d8d-9dc5-cda8-8fdf2716e361"); return(STRING_CONSTANT); } | ||
611 | "TEXTURE_PLYWOOD" { yylval.sval = new char[UUID_STR_LENGTH]; strcpy(yylval.sval, "89556747-24cb-43ed-920b-47caed15465f"); return(STRING_CONSTANT); } | ||
612 | "TEXTURE_TRANSPARENT" { yylval.sval = new char[UUID_STR_LENGTH]; strcpy(yylval.sval, "59facb66-4a72-40a2-815c-7d9b42c56f60"); return(STRING_CONSTANT); } | ||
613 | |||
609 | {L}({L}|{N})* { count(); yylval.sval = new char[strlen(yytext) + 1]; strcpy(yylval.sval, yytext); return(IDENTIFIER); } | 614 | {L}({L}|{N})* { count(); yylval.sval = new char[strlen(yytext) + 1]; strcpy(yylval.sval, yytext); return(IDENTIFIER); } |
610 | 615 | ||
611 | {N}+{E} { count(); yylval.fval = (F32)atof(yytext); return(FP_CONSTANT); } | 616 | {N}+{E} { count(); yylval.fval = (F32)atof(yytext); return(FP_CONSTANT); } |
@@ -706,7 +711,7 @@ BOOL lscript_compile(const char* src_filename, const char* dst_filename, | |||
706 | #ifdef EMERGENCY_DEBUG_PRINTOUTS | 711 | #ifdef EMERGENCY_DEBUG_PRINTOUTS |
707 | char compiled[256]; | 712 | char compiled[256]; |
708 | sprintf(compiled, "%s.o", src_filename); | 713 | sprintf(compiled, "%s.o", src_filename); |
709 | FILE* compfile; | 714 | LLFILE* compfile; |
710 | compfile = LLFile::fopen(compiled, "w"); | 715 | compfile = LLFile::fopen(compiled, "w"); |
711 | #endif | 716 | #endif |
712 | 717 | ||
@@ -733,7 +738,7 @@ BOOL lscript_compile(const char* src_filename, const char* dst_filename, | |||
733 | #endif | 738 | #endif |
734 | #ifdef EMIT_CIL_ASSEMBLER | 739 | #ifdef EMIT_CIL_ASSEMBLER |
735 | const char* cil_output_file_name = dst_filename? dst_filename : "lscript.cil"; | 740 | const char* cil_output_file_name = dst_filename? dst_filename : "lscript.cil"; |
736 | FILE* cilout = LLFile::fopen(cil_output_file_name, "w"); | 741 | LLFILE* cilout = LLFile::fopen(cil_output_file_name, "w"); |
737 | if(NULL == cilout) | 742 | if(NULL == cilout) |
738 | { | 743 | { |
739 | fprintf(yyout, "Error opening cil output file %s\n", cil_output_file_name); | 744 | fprintf(yyout, "Error opening cil output file %s\n", cil_output_file_name); |
diff --git a/linden/indra/lscript/lscript_compile/lscript_bytecode.cpp b/linden/indra/lscript/lscript_compile/lscript_bytecode.cpp index 5838bc3..31ab909 100644 --- a/linden/indra/lscript/lscript_compile/lscript_bytecode.cpp +++ b/linden/indra/lscript/lscript_compile/lscript_bytecode.cpp | |||
@@ -245,7 +245,7 @@ LLScriptScriptCodeChunk::~LLScriptScriptCodeChunk() | |||
245 | delete [] mCompleteCode; | 245 | delete [] mCompleteCode; |
246 | } | 246 | } |
247 | 247 | ||
248 | void LLScriptScriptCodeChunk::build(FILE *efp, FILE *bcfp) | 248 | void LLScriptScriptCodeChunk::build(LLFILE *efp, LLFILE *bcfp) |
249 | { | 249 | { |
250 | S32 code_data_size = mRegisters->mCurrentOffset + | 250 | S32 code_data_size = mRegisters->mCurrentOffset + |
251 | mGlobalVariables->mCurrentOffset + | 251 | mGlobalVariables->mCurrentOffset + |
diff --git a/linden/indra/lscript/lscript_compile/lscript_bytecode.h b/linden/indra/lscript/lscript_compile/lscript_bytecode.h index 6526e13..272aa60 100644 --- a/linden/indra/lscript/lscript_compile/lscript_bytecode.h +++ b/linden/indra/lscript/lscript_compile/lscript_bytecode.h | |||
@@ -77,7 +77,7 @@ public: | |||
77 | LLScriptScriptCodeChunk(S32 total_size); | 77 | LLScriptScriptCodeChunk(S32 total_size); |
78 | ~LLScriptScriptCodeChunk(); | 78 | ~LLScriptScriptCodeChunk(); |
79 | 79 | ||
80 | void build(FILE *efp, FILE *bcfp); | 80 | void build(LLFILE *efp, LLFILE *bcfp); |
81 | 81 | ||
82 | LLScriptByteCodeChunk *mRegisters; | 82 | LLScriptByteCodeChunk *mRegisters; |
83 | LLScriptByteCodeChunk *mGlobalVariables; | 83 | LLScriptByteCodeChunk *mGlobalVariables; |
diff --git a/linden/indra/lscript/lscript_compile/lscript_error.cpp b/linden/indra/lscript/lscript_compile/lscript_error.cpp index 6e03b01..b3c1ffa 100644 --- a/linden/indra/lscript/lscript_compile/lscript_error.cpp +++ b/linden/indra/lscript/lscript_compile/lscript_error.cpp | |||
@@ -40,7 +40,7 @@ S32 gInternalLine = 0; | |||
40 | 40 | ||
41 | LLScriptGenerateErrorText gErrorToText; | 41 | LLScriptGenerateErrorText gErrorToText; |
42 | 42 | ||
43 | void LLScriptFilePosition::fdotabs(FILE *fp, S32 tabs, S32 tabsize) | 43 | void LLScriptFilePosition::fdotabs(LLFILE *fp, S32 tabs, S32 tabsize) |
44 | { | 44 | { |
45 | S32 i; | 45 | S32 i; |
46 | for (i = 0; i < tabs * tabsize; i++) | 46 | for (i = 0; i < tabs * tabsize; i++) |
@@ -75,25 +75,25 @@ char* gErrorText[LSERROR_EOF] = /*Flawfinder: ignore*/ | |||
75 | "Declaration requires a new scope -- use { and }" | 75 | "Declaration requires a new scope -- use { and }" |
76 | }; | 76 | }; |
77 | 77 | ||
78 | void LLScriptGenerateErrorText::writeWarning(FILE *fp, LLScriptFilePosition *pos, LSCRIPTWarnings warning) | 78 | void LLScriptGenerateErrorText::writeWarning(LLFILE *fp, LLScriptFilePosition *pos, LSCRIPTWarnings warning) |
79 | { | 79 | { |
80 | fprintf(fp, "(%d, %d) : WARNING : %s\n", pos->mLineNumber, pos->mColumnNumber, gWarningText[warning]); | 80 | fprintf(fp, "(%d, %d) : WARNING : %s\n", pos->mLineNumber, pos->mColumnNumber, gWarningText[warning]); |
81 | mTotalWarnings++; | 81 | mTotalWarnings++; |
82 | } | 82 | } |
83 | 83 | ||
84 | void LLScriptGenerateErrorText::writeWarning(FILE *fp, S32 line, S32 col, LSCRIPTWarnings warning) | 84 | void LLScriptGenerateErrorText::writeWarning(LLFILE *fp, S32 line, S32 col, LSCRIPTWarnings warning) |
85 | { | 85 | { |
86 | fprintf(fp, "(%d, %d) : WARNING : %s\n", line, col, gWarningText[warning]); | 86 | fprintf(fp, "(%d, %d) : WARNING : %s\n", line, col, gWarningText[warning]); |
87 | mTotalWarnings++; | 87 | mTotalWarnings++; |
88 | } | 88 | } |
89 | 89 | ||
90 | void LLScriptGenerateErrorText::writeError(FILE *fp, LLScriptFilePosition *pos, LSCRIPTErrors error) | 90 | void LLScriptGenerateErrorText::writeError(LLFILE *fp, LLScriptFilePosition *pos, LSCRIPTErrors error) |
91 | { | 91 | { |
92 | fprintf(fp, "(%d, %d) : ERROR : %s\n", pos->mLineNumber, pos->mColumnNumber, gErrorText[error]); | 92 | fprintf(fp, "(%d, %d) : ERROR : %s\n", pos->mLineNumber, pos->mColumnNumber, gErrorText[error]); |
93 | mTotalErrors++; | 93 | mTotalErrors++; |
94 | } | 94 | } |
95 | 95 | ||
96 | void LLScriptGenerateErrorText::writeError(FILE *fp, S32 line, S32 col, LSCRIPTErrors error) | 96 | void LLScriptGenerateErrorText::writeError(LLFILE *fp, S32 line, S32 col, LSCRIPTErrors error) |
97 | { | 97 | { |
98 | fprintf(fp, "(%d, %d) : ERROR : %s\n", line, col, gErrorText[error]); | 98 | fprintf(fp, "(%d, %d) : ERROR : %s\n", line, col, gErrorText[error]); |
99 | mTotalErrors++; | 99 | mTotalErrors++; |
diff --git a/linden/indra/lscript/lscript_compile/lscript_error.h b/linden/indra/lscript/lscript_compile/lscript_error.h index d52bdf7..b5fcadb 100644 --- a/linden/indra/lscript/lscript_compile/lscript_error.h +++ b/linden/indra/lscript/lscript_compile/lscript_error.h | |||
@@ -84,13 +84,13 @@ public: | |||
84 | 84 | ||
85 | virtual ~LLScriptFilePosition() {} | 85 | virtual ~LLScriptFilePosition() {} |
86 | 86 | ||
87 | virtual void recurse(FILE *fp, S32 tabs, S32 tabsize, | 87 | virtual void recurse(LLFILE *fp, S32 tabs, S32 tabsize, |
88 | LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, | 88 | LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, |
89 | LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, | 89 | LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, |
90 | LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) = 0; | 90 | LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) = 0; |
91 | virtual S32 getSize() = 0; | 91 | virtual S32 getSize() = 0; |
92 | 92 | ||
93 | void fdotabs(FILE *fp, S32 tabs, S32 tabsize); | 93 | void fdotabs(LLFILE *fp, S32 tabs, S32 tabsize); |
94 | 94 | ||
95 | S32 mLineNumber; | 95 | S32 mLineNumber; |
96 | S32 mColumnNumber; | 96 | S32 mColumnNumber; |
@@ -135,10 +135,10 @@ public: | |||
135 | 135 | ||
136 | void init() { mTotalErrors = 0; mTotalWarnings = 0; } | 136 | void init() { mTotalErrors = 0; mTotalWarnings = 0; } |
137 | 137 | ||
138 | void writeWarning(FILE *fp, LLScriptFilePosition *pos, LSCRIPTWarnings warning); | 138 | void writeWarning(LLFILE *fp, LLScriptFilePosition *pos, LSCRIPTWarnings warning); |
139 | void writeWarning(FILE *fp, S32 line, S32 col, LSCRIPTWarnings warning); | 139 | void writeWarning(LLFILE *fp, S32 line, S32 col, LSCRIPTWarnings warning); |
140 | void writeError(FILE *fp, LLScriptFilePosition *pos, LSCRIPTErrors error); | 140 | void writeError(LLFILE *fp, LLScriptFilePosition *pos, LSCRIPTErrors error); |
141 | void writeError(FILE *fp, S32 line, S32 col, LSCRIPTErrors error); | 141 | void writeError(LLFILE *fp, S32 line, S32 col, LSCRIPTErrors error); |
142 | 142 | ||
143 | BOOL getErrors() { return mTotalErrors; } | 143 | BOOL getErrors() { return mTotalErrors; } |
144 | BOOL getWarnings() { return mTotalWarnings; } | 144 | BOOL getWarnings() { return mTotalWarnings; } |
diff --git a/linden/indra/lscript/lscript_compile/lscript_tree.cpp b/linden/indra/lscript/lscript_compile/lscript_tree.cpp index 519d726..204f738 100644 --- a/linden/indra/lscript/lscript_compile/lscript_tree.cpp +++ b/linden/indra/lscript/lscript_compile/lscript_tree.cpp | |||
@@ -43,7 +43,7 @@ | |||
43 | 43 | ||
44 | //#define LSL_INCLUDE_DEBUG_INFO | 44 | //#define LSL_INCLUDE_DEBUG_INFO |
45 | 45 | ||
46 | void print_cil_box(FILE* fp, LSCRIPTType type) | 46 | void print_cil_box(LLFILE* fp, LSCRIPTType type) |
47 | { | 47 | { |
48 | switch(type) | 48 | switch(type) |
49 | { | 49 | { |
@@ -68,7 +68,7 @@ void print_cil_box(FILE* fp, LSCRIPTType type) | |||
68 | } | 68 | } |
69 | } | 69 | } |
70 | 70 | ||
71 | void print_cil_type(FILE* fp, LSCRIPTType type) | 71 | void print_cil_type(LLFILE* fp, LSCRIPTType type) |
72 | { | 72 | { |
73 | switch(type) | 73 | switch(type) |
74 | { | 74 | { |
@@ -99,7 +99,7 @@ void print_cil_type(FILE* fp, LSCRIPTType type) | |||
99 | } | 99 | } |
100 | } | 100 | } |
101 | 101 | ||
102 | void LLScriptType::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 102 | void LLScriptType::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
103 | { | 103 | { |
104 | if (gErrorToText.getErrors()) | 104 | if (gErrorToText.getErrors()) |
105 | { | 105 | { |
@@ -127,7 +127,7 @@ S32 LLScriptType::getSize() | |||
127 | return LSCRIPTDataSize[mType]; | 127 | return LSCRIPTDataSize[mType]; |
128 | } | 128 | } |
129 | 129 | ||
130 | void LLScriptConstant::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 130 | void LLScriptConstant::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
131 | { | 131 | { |
132 | if (gErrorToText.getErrors()) | 132 | if (gErrorToText.getErrors()) |
133 | { | 133 | { |
@@ -152,7 +152,7 @@ S32 LLScriptConstant::getSize() | |||
152 | 152 | ||
153 | 153 | ||
154 | 154 | ||
155 | void LLScriptConstantInteger::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 155 | void LLScriptConstantInteger::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
156 | { | 156 | { |
157 | if (gErrorToText.getErrors()) | 157 | if (gErrorToText.getErrors()) |
158 | { | 158 | { |
@@ -200,7 +200,7 @@ S32 LLScriptConstantInteger::getSize() | |||
200 | return LSCRIPTDataSize[LST_INTEGER]; | 200 | return LSCRIPTDataSize[LST_INTEGER]; |
201 | } | 201 | } |
202 | 202 | ||
203 | void LLScriptConstantFloat::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 203 | void LLScriptConstantFloat::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
204 | { | 204 | { |
205 | if (gErrorToText.getErrors()) | 205 | if (gErrorToText.getErrors()) |
206 | { | 206 | { |
@@ -247,7 +247,7 @@ S32 LLScriptConstantFloat::getSize() | |||
247 | return LSCRIPTDataSize[LST_FLOATINGPOINT]; | 247 | return LSCRIPTDataSize[LST_FLOATINGPOINT]; |
248 | } | 248 | } |
249 | 249 | ||
250 | void print_escape_quotes(FILE* fp, const char* str) | 250 | void print_escape_quotes(LLFILE* fp, const char* str) |
251 | { | 251 | { |
252 | putc('"', fp); | 252 | putc('"', fp); |
253 | for(const char* c = str; *c != '\0'; ++c) | 253 | for(const char* c = str; *c != '\0'; ++c) |
@@ -261,7 +261,7 @@ void print_escape_quotes(FILE* fp, const char* str) | |||
261 | putc('"', fp); | 261 | putc('"', fp); |
262 | } | 262 | } |
263 | 263 | ||
264 | void LLScriptConstantString::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 264 | void LLScriptConstantString::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
265 | { | 265 | { |
266 | if (gErrorToText.getErrors()) | 266 | if (gErrorToText.getErrors()) |
267 | { | 267 | { |
@@ -317,7 +317,7 @@ S32 LLScriptConstantString::getSize() | |||
317 | } | 317 | } |
318 | 318 | ||
319 | 319 | ||
320 | void LLScriptIdentifier::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 320 | void LLScriptIdentifier::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
321 | { | 321 | { |
322 | if (gErrorToText.getErrors()) | 322 | if (gErrorToText.getErrors()) |
323 | { | 323 | { |
@@ -412,7 +412,7 @@ void LLScriptSimpleAssignable::addAssignable(LLScriptSimpleAssignable *assign) | |||
412 | mNextp = assign; | 412 | mNextp = assign; |
413 | } | 413 | } |
414 | 414 | ||
415 | void LLScriptSimpleAssignable::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 415 | void LLScriptSimpleAssignable::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
416 | { | 416 | { |
417 | if (gErrorToText.getErrors()) | 417 | if (gErrorToText.getErrors()) |
418 | { | 418 | { |
@@ -428,7 +428,7 @@ S32 LLScriptSimpleAssignable::getSize() | |||
428 | return 0; | 428 | return 0; |
429 | } | 429 | } |
430 | 430 | ||
431 | void LLScriptSAIdentifier::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 431 | void LLScriptSAIdentifier::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
432 | { | 432 | { |
433 | if (gErrorToText.getErrors()) | 433 | if (gErrorToText.getErrors()) |
434 | { | 434 | { |
@@ -512,7 +512,7 @@ S32 LLScriptSAIdentifier::getSize() | |||
512 | return mIdentifier->getSize(); | 512 | return mIdentifier->getSize(); |
513 | } | 513 | } |
514 | 514 | ||
515 | void LLScriptSAConstant::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 515 | void LLScriptSAConstant::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
516 | { | 516 | { |
517 | if (gErrorToText.getErrors()) | 517 | if (gErrorToText.getErrors()) |
518 | { | 518 | { |
@@ -553,7 +553,7 @@ S32 LLScriptSAConstant::getSize() | |||
553 | return mConstant->getSize(); | 553 | return mConstant->getSize(); |
554 | } | 554 | } |
555 | 555 | ||
556 | void print_cil_cast(FILE* fp, LSCRIPTType srcType, LSCRIPTType targetType) | 556 | void print_cil_cast(LLFILE* fp, LSCRIPTType srcType, LSCRIPTType targetType) |
557 | { | 557 | { |
558 | switch(srcType) | 558 | switch(srcType) |
559 | { | 559 | { |
@@ -680,7 +680,7 @@ bool is_SA_constant_integer(LLScriptSimpleAssignable* sa) | |||
680 | return (sa->mType == LSSAT_CONSTANT && ((LLScriptSAConstant*) sa)->mConstant->mType == LST_INTEGER); | 680 | return (sa->mType == LSSAT_CONSTANT && ((LLScriptSAConstant*) sa)->mConstant->mType == LST_INTEGER); |
681 | } | 681 | } |
682 | 682 | ||
683 | void LLScriptSAVector::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 683 | void LLScriptSAVector::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
684 | { | 684 | { |
685 | if (gErrorToText.getErrors()) | 685 | if (gErrorToText.getErrors()) |
686 | { | 686 | { |
@@ -827,7 +827,7 @@ S32 LLScriptSAVector::getSize() | |||
827 | return mEntry1->getSize() + mEntry2->getSize() + mEntry3->getSize(); | 827 | return mEntry1->getSize() + mEntry2->getSize() + mEntry3->getSize(); |
828 | } | 828 | } |
829 | 829 | ||
830 | void LLScriptSAQuaternion::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 830 | void LLScriptSAQuaternion::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
831 | { | 831 | { |
832 | if (gErrorToText.getErrors()) | 832 | if (gErrorToText.getErrors()) |
833 | { | 833 | { |
@@ -999,7 +999,7 @@ S32 LLScriptSAQuaternion::getSize() | |||
999 | return mEntry1->getSize() + mEntry2->getSize() + mEntry3->getSize() + mEntry4->getSize(); | 999 | return mEntry1->getSize() + mEntry2->getSize() + mEntry3->getSize() + mEntry4->getSize(); |
1000 | } | 1000 | } |
1001 | 1001 | ||
1002 | void LLScriptSAList::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 1002 | void LLScriptSAList::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
1003 | { | 1003 | { |
1004 | if (gErrorToText.getErrors()) | 1004 | if (gErrorToText.getErrors()) |
1005 | { | 1005 | { |
@@ -1074,7 +1074,7 @@ void LLScriptGlobalVariable::addGlobal(LLScriptGlobalVariable *global) | |||
1074 | mNextp = global; | 1074 | mNextp = global; |
1075 | } | 1075 | } |
1076 | 1076 | ||
1077 | void LLScriptGlobalVariable::gonext(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 1077 | void LLScriptGlobalVariable::gonext(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
1078 | { | 1078 | { |
1079 | switch(pass) | 1079 | switch(pass) |
1080 | { | 1080 | { |
@@ -1093,7 +1093,7 @@ void LLScriptGlobalVariable::gonext(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTComp | |||
1093 | } | 1093 | } |
1094 | } | 1094 | } |
1095 | 1095 | ||
1096 | void LLScriptGlobalVariable::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 1096 | void LLScriptGlobalVariable::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
1097 | { | 1097 | { |
1098 | if (gErrorToText.getErrors()) | 1098 | if (gErrorToText.getErrors()) |
1099 | { | 1099 | { |
@@ -1288,7 +1288,7 @@ S32 LLScriptGlobalVariable::getSize() | |||
1288 | return return_size; | 1288 | return return_size; |
1289 | } | 1289 | } |
1290 | 1290 | ||
1291 | void LLScriptEvent::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 1291 | void LLScriptEvent::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
1292 | { | 1292 | { |
1293 | fprintf(fp, "Event Base Class -- should never get here!\n"); | 1293 | fprintf(fp, "Event Base Class -- should never get here!\n"); |
1294 | } | 1294 | } |
@@ -1299,7 +1299,7 @@ S32 LLScriptEvent::getSize() | |||
1299 | return 0; | 1299 | return 0; |
1300 | } | 1300 | } |
1301 | 1301 | ||
1302 | void LLScriptStateEntryEvent::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 1302 | void LLScriptStateEntryEvent::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
1303 | { | 1303 | { |
1304 | if (gErrorToText.getErrors()) | 1304 | if (gErrorToText.getErrors()) |
1305 | { | 1305 | { |
@@ -1335,7 +1335,7 @@ S32 LLScriptStateEntryEvent::getSize() | |||
1335 | return 0; | 1335 | return 0; |
1336 | } | 1336 | } |
1337 | 1337 | ||
1338 | void LLScriptStateExitEvent::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 1338 | void LLScriptStateExitEvent::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
1339 | { | 1339 | { |
1340 | if (gErrorToText.getErrors()) | 1340 | if (gErrorToText.getErrors()) |
1341 | { | 1341 | { |
@@ -1371,7 +1371,7 @@ S32 LLScriptStateExitEvent::getSize() | |||
1371 | return 0; | 1371 | return 0; |
1372 | } | 1372 | } |
1373 | 1373 | ||
1374 | void LLScriptTouchStartEvent::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 1374 | void LLScriptTouchStartEvent::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
1375 | { | 1375 | { |
1376 | if (gErrorToText.getErrors()) | 1376 | if (gErrorToText.getErrors()) |
1377 | { | 1377 | { |
@@ -1429,7 +1429,7 @@ S32 LLScriptTouchStartEvent::getSize() | |||
1429 | return 4; | 1429 | return 4; |
1430 | } | 1430 | } |
1431 | 1431 | ||
1432 | void LLScriptTouchEvent::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 1432 | void LLScriptTouchEvent::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
1433 | { | 1433 | { |
1434 | if (gErrorToText.getErrors()) | 1434 | if (gErrorToText.getErrors()) |
1435 | { | 1435 | { |
@@ -1487,7 +1487,7 @@ S32 LLScriptTouchEvent::getSize() | |||
1487 | return 4; | 1487 | return 4; |
1488 | } | 1488 | } |
1489 | 1489 | ||
1490 | void LLScriptTouchEndEvent::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 1490 | void LLScriptTouchEndEvent::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
1491 | { | 1491 | { |
1492 | if (gErrorToText.getErrors()) | 1492 | if (gErrorToText.getErrors()) |
1493 | { | 1493 | { |
@@ -1545,7 +1545,7 @@ S32 LLScriptTouchEndEvent::getSize() | |||
1545 | return 4; | 1545 | return 4; |
1546 | } | 1546 | } |
1547 | 1547 | ||
1548 | void LLScriptCollisionStartEvent::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 1548 | void LLScriptCollisionStartEvent::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
1549 | { | 1549 | { |
1550 | if (gErrorToText.getErrors()) | 1550 | if (gErrorToText.getErrors()) |
1551 | { | 1551 | { |
@@ -1603,7 +1603,7 @@ S32 LLScriptCollisionStartEvent::getSize() | |||
1603 | return 4; | 1603 | return 4; |
1604 | } | 1604 | } |
1605 | 1605 | ||
1606 | void LLScriptCollisionEvent::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 1606 | void LLScriptCollisionEvent::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
1607 | { | 1607 | { |
1608 | if (gErrorToText.getErrors()) | 1608 | if (gErrorToText.getErrors()) |
1609 | { | 1609 | { |
@@ -1661,7 +1661,7 @@ S32 LLScriptCollisionEvent::getSize() | |||
1661 | return 4; | 1661 | return 4; |
1662 | } | 1662 | } |
1663 | 1663 | ||
1664 | void LLScriptCollisionEndEvent::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 1664 | void LLScriptCollisionEndEvent::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
1665 | { | 1665 | { |
1666 | if (gErrorToText.getErrors()) | 1666 | if (gErrorToText.getErrors()) |
1667 | { | 1667 | { |
@@ -1719,7 +1719,7 @@ S32 LLScriptCollisionEndEvent::getSize() | |||
1719 | return 4; | 1719 | return 4; |
1720 | } | 1720 | } |
1721 | 1721 | ||
1722 | void LLScriptLandCollisionStartEvent::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 1722 | void LLScriptLandCollisionStartEvent::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
1723 | { | 1723 | { |
1724 | if (gErrorToText.getErrors()) | 1724 | if (gErrorToText.getErrors()) |
1725 | { | 1725 | { |
@@ -1778,7 +1778,7 @@ S32 LLScriptLandCollisionStartEvent::getSize() | |||
1778 | 1778 | ||
1779 | 1779 | ||
1780 | 1780 | ||
1781 | void LLScriptLandCollisionEvent::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 1781 | void LLScriptLandCollisionEvent::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
1782 | { | 1782 | { |
1783 | if (gErrorToText.getErrors()) | 1783 | if (gErrorToText.getErrors()) |
1784 | { | 1784 | { |
@@ -1836,7 +1836,7 @@ S32 LLScriptLandCollisionEvent::getSize() | |||
1836 | } | 1836 | } |
1837 | 1837 | ||
1838 | 1838 | ||
1839 | void LLScriptLandCollisionEndEvent::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 1839 | void LLScriptLandCollisionEndEvent::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
1840 | { | 1840 | { |
1841 | if (gErrorToText.getErrors()) | 1841 | if (gErrorToText.getErrors()) |
1842 | { | 1842 | { |
@@ -1894,7 +1894,7 @@ S32 LLScriptLandCollisionEndEvent::getSize() | |||
1894 | } | 1894 | } |
1895 | 1895 | ||
1896 | 1896 | ||
1897 | void LLScriptInventoryEvent::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 1897 | void LLScriptInventoryEvent::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
1898 | { | 1898 | { |
1899 | if (gErrorToText.getErrors()) | 1899 | if (gErrorToText.getErrors()) |
1900 | { | 1900 | { |
@@ -1951,7 +1951,7 @@ S32 LLScriptInventoryEvent::getSize() | |||
1951 | return 4; | 1951 | return 4; |
1952 | } | 1952 | } |
1953 | 1953 | ||
1954 | void LLScriptAttachEvent::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 1954 | void LLScriptAttachEvent::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
1955 | { | 1955 | { |
1956 | if (gErrorToText.getErrors()) | 1956 | if (gErrorToText.getErrors()) |
1957 | { | 1957 | { |
@@ -2008,7 +2008,7 @@ S32 LLScriptAttachEvent::getSize() | |||
2008 | return 4; | 2008 | return 4; |
2009 | } | 2009 | } |
2010 | 2010 | ||
2011 | void LLScriptDataserverEvent::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 2011 | void LLScriptDataserverEvent::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
2012 | { | 2012 | { |
2013 | if (gErrorToText.getErrors()) | 2013 | if (gErrorToText.getErrors()) |
2014 | { | 2014 | { |
@@ -2080,7 +2080,7 @@ S32 LLScriptDataserverEvent::getSize() | |||
2080 | return 8; | 2080 | return 8; |
2081 | } | 2081 | } |
2082 | 2082 | ||
2083 | void LLScriptTimerEvent::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 2083 | void LLScriptTimerEvent::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
2084 | { | 2084 | { |
2085 | if (gErrorToText.getErrors()) | 2085 | if (gErrorToText.getErrors()) |
2086 | { | 2086 | { |
@@ -2113,7 +2113,7 @@ S32 LLScriptTimerEvent::getSize() | |||
2113 | return 0; | 2113 | return 0; |
2114 | } | 2114 | } |
2115 | 2115 | ||
2116 | void LLScriptMovingStartEvent::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 2116 | void LLScriptMovingStartEvent::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
2117 | { | 2117 | { |
2118 | if (gErrorToText.getErrors()) | 2118 | if (gErrorToText.getErrors()) |
2119 | { | 2119 | { |
@@ -2144,7 +2144,7 @@ S32 LLScriptMovingStartEvent::getSize() | |||
2144 | return 0; | 2144 | return 0; |
2145 | } | 2145 | } |
2146 | 2146 | ||
2147 | void LLScriptMovingEndEvent::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 2147 | void LLScriptMovingEndEvent::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
2148 | { | 2148 | { |
2149 | if (gErrorToText.getErrors()) | 2149 | if (gErrorToText.getErrors()) |
2150 | { | 2150 | { |
@@ -2175,7 +2175,7 @@ S32 LLScriptMovingEndEvent::getSize() | |||
2175 | return 0; | 2175 | return 0; |
2176 | } | 2176 | } |
2177 | 2177 | ||
2178 | void LLScriptRTPEvent::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 2178 | void LLScriptRTPEvent::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
2179 | { | 2179 | { |
2180 | if (gErrorToText.getErrors()) | 2180 | if (gErrorToText.getErrors()) |
2181 | { | 2181 | { |
@@ -2232,7 +2232,7 @@ S32 LLScriptRTPEvent::getSize() | |||
2232 | return 4; | 2232 | return 4; |
2233 | } | 2233 | } |
2234 | 2234 | ||
2235 | void LLScriptChatEvent::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 2235 | void LLScriptChatEvent::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
2236 | { | 2236 | { |
2237 | if (gErrorToText.getErrors()) | 2237 | if (gErrorToText.getErrors()) |
2238 | { | 2238 | { |
@@ -2334,7 +2334,7 @@ S32 LLScriptChatEvent::getSize() | |||
2334 | return 16; | 2334 | return 16; |
2335 | } | 2335 | } |
2336 | 2336 | ||
2337 | void LLScriptSensorEvent::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 2337 | void LLScriptSensorEvent::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
2338 | { | 2338 | { |
2339 | if (gErrorToText.getErrors()) | 2339 | if (gErrorToText.getErrors()) |
2340 | { | 2340 | { |
@@ -2391,7 +2391,7 @@ S32 LLScriptSensorEvent::getSize() | |||
2391 | return 4; | 2391 | return 4; |
2392 | } | 2392 | } |
2393 | 2393 | ||
2394 | void LLScriptObjectRezEvent::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 2394 | void LLScriptObjectRezEvent::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
2395 | { | 2395 | { |
2396 | if (gErrorToText.getErrors()) | 2396 | if (gErrorToText.getErrors()) |
2397 | { | 2397 | { |
@@ -2448,7 +2448,7 @@ S32 LLScriptObjectRezEvent::getSize() | |||
2448 | return 4; | 2448 | return 4; |
2449 | } | 2449 | } |
2450 | 2450 | ||
2451 | void LLScriptControlEvent::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 2451 | void LLScriptControlEvent::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
2452 | { | 2452 | { |
2453 | if (gErrorToText.getErrors()) | 2453 | if (gErrorToText.getErrors()) |
2454 | { | 2454 | { |
@@ -2535,7 +2535,7 @@ S32 LLScriptControlEvent::getSize() | |||
2535 | return 12; | 2535 | return 12; |
2536 | } | 2536 | } |
2537 | 2537 | ||
2538 | void LLScriptLinkMessageEvent::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 2538 | void LLScriptLinkMessageEvent::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
2539 | { | 2539 | { |
2540 | if (gErrorToText.getErrors()) | 2540 | if (gErrorToText.getErrors()) |
2541 | { | 2541 | { |
@@ -2637,7 +2637,7 @@ S32 LLScriptLinkMessageEvent::getSize() | |||
2637 | return 16; | 2637 | return 16; |
2638 | } | 2638 | } |
2639 | 2639 | ||
2640 | void LLScriptRemoteEvent::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 2640 | void LLScriptRemoteEvent::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
2641 | { | 2641 | { |
2642 | if (gErrorToText.getErrors()) | 2642 | if (gErrorToText.getErrors()) |
2643 | { | 2643 | { |
@@ -2769,7 +2769,7 @@ S32 LLScriptRemoteEvent::getSize() | |||
2769 | return 24; | 2769 | return 24; |
2770 | } | 2770 | } |
2771 | 2771 | ||
2772 | void LLScriptHTTPResponseEvent::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 2772 | void LLScriptHTTPResponseEvent::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
2773 | { | 2773 | { |
2774 | if (gErrorToText.getErrors()) | 2774 | if (gErrorToText.getErrors()) |
2775 | { | 2775 | { |
@@ -2882,7 +2882,7 @@ S32 LLScriptHTTPResponseEvent::getSize() | |||
2882 | } | 2882 | } |
2883 | 2883 | ||
2884 | 2884 | ||
2885 | void LLScriptMoneyEvent::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 2885 | void LLScriptMoneyEvent::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
2886 | { | 2886 | { |
2887 | if (gErrorToText.getErrors()) | 2887 | if (gErrorToText.getErrors()) |
2888 | { | 2888 | { |
@@ -2954,7 +2954,7 @@ S32 LLScriptMoneyEvent::getSize() | |||
2954 | return 8; | 2954 | return 8; |
2955 | } | 2955 | } |
2956 | 2956 | ||
2957 | void LLScriptEmailEvent::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 2957 | void LLScriptEmailEvent::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
2958 | { | 2958 | { |
2959 | if (gErrorToText.getErrors()) | 2959 | if (gErrorToText.getErrors()) |
2960 | { | 2960 | { |
@@ -3071,7 +3071,7 @@ S32 LLScriptEmailEvent::getSize() | |||
3071 | return 20; | 3071 | return 20; |
3072 | } | 3072 | } |
3073 | 3073 | ||
3074 | void LLScriptRezEvent::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 3074 | void LLScriptRezEvent::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
3075 | { | 3075 | { |
3076 | if (gErrorToText.getErrors()) | 3076 | if (gErrorToText.getErrors()) |
3077 | { | 3077 | { |
@@ -3128,7 +3128,7 @@ S32 LLScriptRezEvent::getSize() | |||
3128 | return 4; | 3128 | return 4; |
3129 | } | 3129 | } |
3130 | 3130 | ||
3131 | void LLScriptNoSensorEvent::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 3131 | void LLScriptNoSensorEvent::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
3132 | { | 3132 | { |
3133 | if (gErrorToText.getErrors()) | 3133 | if (gErrorToText.getErrors()) |
3134 | { | 3134 | { |
@@ -3161,7 +3161,7 @@ S32 LLScriptNoSensorEvent::getSize() | |||
3161 | return 0; | 3161 | return 0; |
3162 | } | 3162 | } |
3163 | 3163 | ||
3164 | void LLScriptAtTarget::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 3164 | void LLScriptAtTarget::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
3165 | { | 3165 | { |
3166 | if (gErrorToText.getErrors()) | 3166 | if (gErrorToText.getErrors()) |
3167 | { | 3167 | { |
@@ -3250,7 +3250,7 @@ S32 LLScriptAtTarget::getSize() | |||
3250 | 3250 | ||
3251 | 3251 | ||
3252 | 3252 | ||
3253 | void LLScriptNotAtTarget::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 3253 | void LLScriptNotAtTarget::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
3254 | { | 3254 | { |
3255 | if (gErrorToText.getErrors()) | 3255 | if (gErrorToText.getErrors()) |
3256 | { | 3256 | { |
@@ -3283,7 +3283,7 @@ S32 LLScriptNotAtTarget::getSize() | |||
3283 | return 0; | 3283 | return 0; |
3284 | } | 3284 | } |
3285 | 3285 | ||
3286 | void LLScriptAtRotTarget::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 3286 | void LLScriptAtRotTarget::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
3287 | { | 3287 | { |
3288 | if (gErrorToText.getErrors()) | 3288 | if (gErrorToText.getErrors()) |
3289 | { | 3289 | { |
@@ -3372,7 +3372,7 @@ S32 LLScriptAtRotTarget::getSize() | |||
3372 | 3372 | ||
3373 | 3373 | ||
3374 | 3374 | ||
3375 | void LLScriptNotAtRotTarget::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 3375 | void LLScriptNotAtRotTarget::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
3376 | { | 3376 | { |
3377 | if (gErrorToText.getErrors()) | 3377 | if (gErrorToText.getErrors()) |
3378 | { | 3378 | { |
@@ -3416,7 +3416,7 @@ void LLScriptExpression::addExpression(LLScriptExpression *expression) | |||
3416 | mNextp = expression; | 3416 | mNextp = expression; |
3417 | } | 3417 | } |
3418 | 3418 | ||
3419 | void LLScriptExpression::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 3419 | void LLScriptExpression::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
3420 | { | 3420 | { |
3421 | fprintf(fp, "Expression Base Class -- should never get here!\n"); | 3421 | fprintf(fp, "Expression Base Class -- should never get here!\n"); |
3422 | } | 3422 | } |
@@ -3427,7 +3427,7 @@ S32 LLScriptExpression::getSize() | |||
3427 | return 0; | 3427 | return 0; |
3428 | } | 3428 | } |
3429 | 3429 | ||
3430 | void LLScriptExpression::gonext(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 3430 | void LLScriptExpression::gonext(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
3431 | { | 3431 | { |
3432 | if (gErrorToText.getErrors()) | 3432 | if (gErrorToText.getErrors()) |
3433 | { | 3433 | { |
@@ -3451,7 +3451,7 @@ void LLScriptExpression::gonext(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompileP | |||
3451 | } | 3451 | } |
3452 | } | 3452 | } |
3453 | 3453 | ||
3454 | void LLScriptForExpressionList::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 3454 | void LLScriptForExpressionList::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
3455 | { | 3455 | { |
3456 | if (gErrorToText.getErrors()) | 3456 | if (gErrorToText.getErrors()) |
3457 | { | 3457 | { |
@@ -3563,7 +3563,7 @@ S32 LLScriptForExpressionList::getSize() | |||
3563 | return 0; | 3563 | return 0; |
3564 | } | 3564 | } |
3565 | 3565 | ||
3566 | void LLScriptFuncExpressionList::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 3566 | void LLScriptFuncExpressionList::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
3567 | { | 3567 | { |
3568 | if (gErrorToText.getErrors()) | 3568 | if (gErrorToText.getErrors()) |
3569 | { | 3569 | { |
@@ -3700,7 +3700,7 @@ S32 LLScriptFuncExpressionList::getSize() | |||
3700 | return 0; | 3700 | return 0; |
3701 | } | 3701 | } |
3702 | 3702 | ||
3703 | void LLScriptListExpressionList::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 3703 | void LLScriptListExpressionList::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
3704 | { | 3704 | { |
3705 | if (gErrorToText.getErrors()) | 3705 | if (gErrorToText.getErrors()) |
3706 | { | 3706 | { |
@@ -3800,7 +3800,7 @@ bool is_parameter(LLScriptIdentifier* identifier, LLScriptScopeEntry* function_s | |||
3800 | } | 3800 | } |
3801 | 3801 | ||
3802 | // If assignment is to global variable, pushes this pointer on to stack. | 3802 | // If assignment is to global variable, pushes this pointer on to stack. |
3803 | void print_cil_load_address(FILE* fp, LLScriptExpression* exp, LLScriptScopeEntry* function_scope) | 3803 | void print_cil_load_address(LLFILE* fp, LLScriptExpression* exp, LLScriptScopeEntry* function_scope) |
3804 | { | 3804 | { |
3805 | LLScriptLValue *lvalue = (LLScriptLValue *) exp; | 3805 | LLScriptLValue *lvalue = (LLScriptLValue *) exp; |
3806 | LLScriptIdentifier *ident = lvalue->mIdentifier; | 3806 | LLScriptIdentifier *ident = lvalue->mIdentifier; |
@@ -3836,7 +3836,7 @@ void print_cil_load_address(FILE* fp, LLScriptExpression* exp, LLScriptScopeEntr | |||
3836 | } | 3836 | } |
3837 | } | 3837 | } |
3838 | 3838 | ||
3839 | void print_cil_accessor(FILE* fp, LLScriptLValue *lvalue) | 3839 | void print_cil_accessor(LLFILE* fp, LLScriptLValue *lvalue) |
3840 | { | 3840 | { |
3841 | LLScriptIdentifier *ident = lvalue->mIdentifier; | 3841 | LLScriptIdentifier *ident = lvalue->mIdentifier; |
3842 | print_cil_type(fp, lvalue->mReturnType); | 3842 | print_cil_type(fp, lvalue->mReturnType); |
@@ -3845,13 +3845,13 @@ void print_cil_accessor(FILE* fp, LLScriptLValue *lvalue) | |||
3845 | fprintf(fp, "::%s\n", lvalue->mAccessor->mName); | 3845 | fprintf(fp, "::%s\n", lvalue->mAccessor->mName); |
3846 | } | 3846 | } |
3847 | 3847 | ||
3848 | void print_cil_member(FILE* fp, LLScriptIdentifier *ident) | 3848 | void print_cil_member(LLFILE* fp, LLScriptIdentifier *ident) |
3849 | { | 3849 | { |
3850 | print_cil_type(fp, ident->mScopeEntry->mType); | 3850 | print_cil_type(fp, ident->mScopeEntry->mType); |
3851 | fprintf(fp, " LSL::%s\n", ident->mScopeEntry->mIdentifier); | 3851 | fprintf(fp, " LSL::%s\n", ident->mScopeEntry->mIdentifier); |
3852 | } | 3852 | } |
3853 | 3853 | ||
3854 | void LLScriptLValue::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 3854 | void LLScriptLValue::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
3855 | { | 3855 | { |
3856 | if (gErrorToText.getErrors()) | 3856 | if (gErrorToText.getErrors()) |
3857 | { | 3857 | { |
@@ -4136,7 +4136,7 @@ S32 LLScriptLValue::getSize() | |||
4136 | return 0; | 4136 | return 0; |
4137 | } | 4137 | } |
4138 | 4138 | ||
4139 | void print_asignment(FILE *fp, LLScriptExpression *exp) | 4139 | void print_asignment(LLFILE *fp, LLScriptExpression *exp) |
4140 | { | 4140 | { |
4141 | LLScriptLValue *lvalue = (LLScriptLValue *)exp; | 4141 | LLScriptLValue *lvalue = (LLScriptLValue *)exp; |
4142 | LLScriptIdentifier *ident = lvalue->mIdentifier; | 4142 | LLScriptIdentifier *ident = lvalue->mIdentifier; |
@@ -4164,7 +4164,7 @@ void print_asignment(FILE *fp, LLScriptExpression *exp) | |||
4164 | } | 4164 | } |
4165 | } | 4165 | } |
4166 | 4166 | ||
4167 | void print_cil_asignment(FILE *fp, LLScriptExpression *exp, LLScriptScopeEntry* function_scope) | 4167 | void print_cil_asignment(LLFILE *fp, LLScriptExpression *exp, LLScriptScopeEntry* function_scope) |
4168 | { | 4168 | { |
4169 | LLScriptLValue *lvalue = (LLScriptLValue *) exp; | 4169 | LLScriptLValue *lvalue = (LLScriptLValue *) exp; |
4170 | LLScriptIdentifier *ident = lvalue->mIdentifier; | 4170 | LLScriptIdentifier *ident = lvalue->mIdentifier; |
@@ -4215,7 +4215,7 @@ void print_cil_asignment(FILE *fp, LLScriptExpression *exp, LLScriptScopeEntry* | |||
4215 | } | 4215 | } |
4216 | } | 4216 | } |
4217 | 4217 | ||
4218 | void print_cast(FILE *fp, LSCRIPTType ret_type, LSCRIPTType right_type) | 4218 | void print_cast(LLFILE *fp, LSCRIPTType ret_type, LSCRIPTType right_type) |
4219 | { | 4219 | { |
4220 | if (right_type != ret_type) | 4220 | if (right_type != ret_type) |
4221 | { | 4221 | { |
@@ -4319,7 +4319,7 @@ void store2stack(LLScriptExpression *exp, LLScriptExpression *lv, LLScriptByteCo | |||
4319 | chunk->addInteger(address); | 4319 | chunk->addInteger(address); |
4320 | } | 4320 | } |
4321 | 4321 | ||
4322 | void print_cil_numeric_cast(FILE* fp, LSCRIPTType currentArg, LSCRIPTType otherArg) | 4322 | void print_cil_numeric_cast(LLFILE* fp, LSCRIPTType currentArg, LSCRIPTType otherArg) |
4323 | { | 4323 | { |
4324 | if((currentArg == LST_INTEGER) && (otherArg == LST_FLOATINGPOINT)) | 4324 | if((currentArg == LST_INTEGER) && (otherArg == LST_FLOATINGPOINT)) |
4325 | { | 4325 | { |
@@ -4327,7 +4327,7 @@ void print_cil_numeric_cast(FILE* fp, LSCRIPTType currentArg, LSCRIPTType otherA | |||
4327 | } | 4327 | } |
4328 | } | 4328 | } |
4329 | 4329 | ||
4330 | void LLScriptAssignment::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 4330 | void LLScriptAssignment::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
4331 | { | 4331 | { |
4332 | if (gErrorToText.getErrors()) | 4332 | if (gErrorToText.getErrors()) |
4333 | { | 4333 | { |
@@ -4387,7 +4387,7 @@ S32 LLScriptAssignment::getSize() | |||
4387 | return 0; | 4387 | return 0; |
4388 | } | 4388 | } |
4389 | 4389 | ||
4390 | void print_cil_add(FILE* fp, LSCRIPTType left_type, LSCRIPTType right_type) | 4390 | void print_cil_add(LLFILE* fp, LSCRIPTType left_type, LSCRIPTType right_type) |
4391 | { | 4391 | { |
4392 | switch(left_type) | 4392 | switch(left_type) |
4393 | { | 4393 | { |
@@ -4429,7 +4429,7 @@ void print_cil_add(FILE* fp, LSCRIPTType left_type, LSCRIPTType right_type) | |||
4429 | } | 4429 | } |
4430 | } | 4430 | } |
4431 | 4431 | ||
4432 | void LLScriptAddAssignment::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 4432 | void LLScriptAddAssignment::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
4433 | { | 4433 | { |
4434 | if (gErrorToText.getErrors()) | 4434 | if (gErrorToText.getErrors()) |
4435 | { | 4435 | { |
@@ -4496,7 +4496,7 @@ S32 LLScriptAddAssignment::getSize() | |||
4496 | return 0; | 4496 | return 0; |
4497 | } | 4497 | } |
4498 | 4498 | ||
4499 | void print_cil_sub(FILE* fp, LSCRIPTType left_type, LSCRIPTType right_type) | 4499 | void print_cil_sub(LLFILE* fp, LSCRIPTType left_type, LSCRIPTType right_type) |
4500 | { | 4500 | { |
4501 | switch(left_type) | 4501 | switch(left_type) |
4502 | { | 4502 | { |
@@ -4528,7 +4528,7 @@ void print_cil_sub(FILE* fp, LSCRIPTType left_type, LSCRIPTType right_type) | |||
4528 | } | 4528 | } |
4529 | } | 4529 | } |
4530 | 4530 | ||
4531 | void LLScriptSubAssignment::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 4531 | void LLScriptSubAssignment::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
4532 | { | 4532 | { |
4533 | if (gErrorToText.getErrors()) | 4533 | if (gErrorToText.getErrors()) |
4534 | { | 4534 | { |
@@ -4595,7 +4595,7 @@ S32 LLScriptSubAssignment::getSize() | |||
4595 | return 0; | 4595 | return 0; |
4596 | } | 4596 | } |
4597 | 4597 | ||
4598 | void print_cil_mul(FILE* fp, LSCRIPTType left_type, LSCRIPTType right_type) | 4598 | void print_cil_mul(LLFILE* fp, LSCRIPTType left_type, LSCRIPTType right_type) |
4599 | { | 4599 | { |
4600 | switch(left_type) | 4600 | switch(left_type) |
4601 | { | 4601 | { |
@@ -4650,7 +4650,7 @@ void print_cil_mul(FILE* fp, LSCRIPTType left_type, LSCRIPTType right_type) | |||
4650 | } | 4650 | } |
4651 | } | 4651 | } |
4652 | 4652 | ||
4653 | void LLScriptMulAssignment::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 4653 | void LLScriptMulAssignment::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
4654 | { | 4654 | { |
4655 | if (gErrorToText.getErrors()) | 4655 | if (gErrorToText.getErrors()) |
4656 | { | 4656 | { |
@@ -4717,7 +4717,7 @@ S32 LLScriptMulAssignment::getSize() | |||
4717 | return 0; | 4717 | return 0; |
4718 | } | 4718 | } |
4719 | 4719 | ||
4720 | void print_cil_div(FILE* fp, LSCRIPTType left_type, LSCRIPTType right_type) | 4720 | void print_cil_div(LLFILE* fp, LSCRIPTType left_type, LSCRIPTType right_type) |
4721 | { | 4721 | { |
4722 | switch(left_type) | 4722 | switch(left_type) |
4723 | { | 4723 | { |
@@ -4765,7 +4765,7 @@ void print_cil_div(FILE* fp, LSCRIPTType left_type, LSCRIPTType right_type) | |||
4765 | } | 4765 | } |
4766 | } | 4766 | } |
4767 | 4767 | ||
4768 | void LLScriptDivAssignment::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 4768 | void LLScriptDivAssignment::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
4769 | { | 4769 | { |
4770 | if (gErrorToText.getErrors()) | 4770 | if (gErrorToText.getErrors()) |
4771 | { | 4771 | { |
@@ -4832,7 +4832,7 @@ S32 LLScriptDivAssignment::getSize() | |||
4832 | return 0; | 4832 | return 0; |
4833 | } | 4833 | } |
4834 | 4834 | ||
4835 | void print_cil_mod(FILE* fp, LSCRIPTType left_type, LSCRIPTType right_type) | 4835 | void print_cil_mod(LLFILE* fp, LSCRIPTType left_type, LSCRIPTType right_type) |
4836 | { | 4836 | { |
4837 | switch(left_type) | 4837 | switch(left_type) |
4838 | { | 4838 | { |
@@ -4855,7 +4855,7 @@ void print_cil_mod(FILE* fp, LSCRIPTType left_type, LSCRIPTType right_type) | |||
4855 | } | 4855 | } |
4856 | } | 4856 | } |
4857 | 4857 | ||
4858 | void LLScriptModAssignment::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 4858 | void LLScriptModAssignment::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
4859 | { | 4859 | { |
4860 | if (gErrorToText.getErrors()) | 4860 | if (gErrorToText.getErrors()) |
4861 | { | 4861 | { |
@@ -4920,7 +4920,7 @@ S32 LLScriptModAssignment::getSize() | |||
4920 | return 0; | 4920 | return 0; |
4921 | } | 4921 | } |
4922 | 4922 | ||
4923 | void print_cil_eq(FILE* fp, LSCRIPTType left_type, LSCRIPTType right_type) | 4923 | void print_cil_eq(LLFILE* fp, LSCRIPTType left_type, LSCRIPTType right_type) |
4924 | { | 4924 | { |
4925 | switch(left_type) | 4925 | switch(left_type) |
4926 | { | 4926 | { |
@@ -4961,7 +4961,7 @@ void print_cil_eq(FILE* fp, LSCRIPTType left_type, LSCRIPTType right_type) | |||
4961 | } | 4961 | } |
4962 | } | 4962 | } |
4963 | 4963 | ||
4964 | void LLScriptEquality::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 4964 | void LLScriptEquality::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
4965 | { | 4965 | { |
4966 | if (gErrorToText.getErrors()) | 4966 | if (gErrorToText.getErrors()) |
4967 | { | 4967 | { |
@@ -5021,7 +5021,7 @@ S32 LLScriptEquality::getSize() | |||
5021 | return 0; | 5021 | return 0; |
5022 | } | 5022 | } |
5023 | 5023 | ||
5024 | void LLScriptNotEquals::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 5024 | void LLScriptNotEquals::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
5025 | { | 5025 | { |
5026 | if (gErrorToText.getErrors()) | 5026 | if (gErrorToText.getErrors()) |
5027 | { | 5027 | { |
@@ -5081,7 +5081,7 @@ S32 LLScriptNotEquals::getSize() | |||
5081 | return 0; | 5081 | return 0; |
5082 | } | 5082 | } |
5083 | 5083 | ||
5084 | void LLScriptLessEquals::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 5084 | void LLScriptLessEquals::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
5085 | { | 5085 | { |
5086 | if (gErrorToText.getErrors()) | 5086 | if (gErrorToText.getErrors()) |
5087 | { | 5087 | { |
@@ -5141,7 +5141,7 @@ S32 LLScriptLessEquals::getSize() | |||
5141 | return 0; | 5141 | return 0; |
5142 | } | 5142 | } |
5143 | 5143 | ||
5144 | void LLScriptGreaterEquals::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 5144 | void LLScriptGreaterEquals::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
5145 | { | 5145 | { |
5146 | if (gErrorToText.getErrors()) | 5146 | if (gErrorToText.getErrors()) |
5147 | { | 5147 | { |
@@ -5201,7 +5201,7 @@ S32 LLScriptGreaterEquals::getSize() | |||
5201 | return 0; | 5201 | return 0; |
5202 | } | 5202 | } |
5203 | 5203 | ||
5204 | void LLScriptLessThan::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 5204 | void LLScriptLessThan::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
5205 | { | 5205 | { |
5206 | if (gErrorToText.getErrors()) | 5206 | if (gErrorToText.getErrors()) |
5207 | { | 5207 | { |
@@ -5259,7 +5259,7 @@ S32 LLScriptLessThan::getSize() | |||
5259 | return 0; | 5259 | return 0; |
5260 | } | 5260 | } |
5261 | 5261 | ||
5262 | void LLScriptGreaterThan::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 5262 | void LLScriptGreaterThan::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
5263 | { | 5263 | { |
5264 | if (gErrorToText.getErrors()) | 5264 | if (gErrorToText.getErrors()) |
5265 | { | 5265 | { |
@@ -5317,7 +5317,7 @@ S32 LLScriptGreaterThan::getSize() | |||
5317 | return 0; | 5317 | return 0; |
5318 | } | 5318 | } |
5319 | 5319 | ||
5320 | void LLScriptPlus::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 5320 | void LLScriptPlus::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
5321 | { | 5321 | { |
5322 | if (gErrorToText.getErrors()) | 5322 | if (gErrorToText.getErrors()) |
5323 | { | 5323 | { |
@@ -5377,7 +5377,7 @@ S32 LLScriptPlus::getSize() | |||
5377 | return 0; | 5377 | return 0; |
5378 | } | 5378 | } |
5379 | 5379 | ||
5380 | void LLScriptMinus::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 5380 | void LLScriptMinus::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
5381 | { | 5381 | { |
5382 | if (gErrorToText.getErrors()) | 5382 | if (gErrorToText.getErrors()) |
5383 | { | 5383 | { |
@@ -5437,7 +5437,7 @@ S32 LLScriptMinus::getSize() | |||
5437 | return 0; | 5437 | return 0; |
5438 | } | 5438 | } |
5439 | 5439 | ||
5440 | void LLScriptTimes::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 5440 | void LLScriptTimes::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
5441 | { | 5441 | { |
5442 | if (gErrorToText.getErrors()) | 5442 | if (gErrorToText.getErrors()) |
5443 | { | 5443 | { |
@@ -5497,7 +5497,7 @@ S32 LLScriptTimes::getSize() | |||
5497 | return 0; | 5497 | return 0; |
5498 | } | 5498 | } |
5499 | 5499 | ||
5500 | void LLScriptDivide::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 5500 | void LLScriptDivide::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
5501 | { | 5501 | { |
5502 | if (gErrorToText.getErrors()) | 5502 | if (gErrorToText.getErrors()) |
5503 | { | 5503 | { |
@@ -5557,7 +5557,7 @@ S32 LLScriptDivide::getSize() | |||
5557 | return 0; | 5557 | return 0; |
5558 | } | 5558 | } |
5559 | 5559 | ||
5560 | void LLScriptMod::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 5560 | void LLScriptMod::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
5561 | { | 5561 | { |
5562 | if (gErrorToText.getErrors()) | 5562 | if (gErrorToText.getErrors()) |
5563 | { | 5563 | { |
@@ -5615,7 +5615,7 @@ S32 LLScriptMod::getSize() | |||
5615 | return 0; | 5615 | return 0; |
5616 | } | 5616 | } |
5617 | 5617 | ||
5618 | void LLScriptBitAnd::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 5618 | void LLScriptBitAnd::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
5619 | { | 5619 | { |
5620 | if (gErrorToText.getErrors()) | 5620 | if (gErrorToText.getErrors()) |
5621 | { | 5621 | { |
@@ -5671,7 +5671,7 @@ S32 LLScriptBitAnd::getSize() | |||
5671 | return 0; | 5671 | return 0; |
5672 | } | 5672 | } |
5673 | 5673 | ||
5674 | void LLScriptBitOr::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 5674 | void LLScriptBitOr::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
5675 | { | 5675 | { |
5676 | if (gErrorToText.getErrors()) | 5676 | if (gErrorToText.getErrors()) |
5677 | { | 5677 | { |
@@ -5727,7 +5727,7 @@ S32 LLScriptBitOr::getSize() | |||
5727 | return 0; | 5727 | return 0; |
5728 | } | 5728 | } |
5729 | 5729 | ||
5730 | void LLScriptBitXor::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 5730 | void LLScriptBitXor::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
5731 | { | 5731 | { |
5732 | if (gErrorToText.getErrors()) | 5732 | if (gErrorToText.getErrors()) |
5733 | { | 5733 | { |
@@ -5783,7 +5783,7 @@ S32 LLScriptBitXor::getSize() | |||
5783 | return 0; | 5783 | return 0; |
5784 | } | 5784 | } |
5785 | 5785 | ||
5786 | void LLScriptBooleanAnd::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 5786 | void LLScriptBooleanAnd::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
5787 | { | 5787 | { |
5788 | if (gErrorToText.getErrors()) | 5788 | if (gErrorToText.getErrors()) |
5789 | { | 5789 | { |
@@ -5839,7 +5839,7 @@ S32 LLScriptBooleanAnd::getSize() | |||
5839 | return 0; | 5839 | return 0; |
5840 | } | 5840 | } |
5841 | 5841 | ||
5842 | void LLScriptBooleanOr::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 5842 | void LLScriptBooleanOr::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
5843 | { | 5843 | { |
5844 | if (gErrorToText.getErrors()) | 5844 | if (gErrorToText.getErrors()) |
5845 | { | 5845 | { |
@@ -5895,7 +5895,7 @@ S32 LLScriptBooleanOr::getSize() | |||
5895 | return 0; | 5895 | return 0; |
5896 | } | 5896 | } |
5897 | 5897 | ||
5898 | void LLScriptShiftLeft::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 5898 | void LLScriptShiftLeft::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
5899 | { | 5899 | { |
5900 | if (gErrorToText.getErrors()) | 5900 | if (gErrorToText.getErrors()) |
5901 | { | 5901 | { |
@@ -5952,7 +5952,7 @@ S32 LLScriptShiftLeft::getSize() | |||
5952 | } | 5952 | } |
5953 | 5953 | ||
5954 | 5954 | ||
5955 | void LLScriptShiftRight::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 5955 | void LLScriptShiftRight::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
5956 | { | 5956 | { |
5957 | if (gErrorToText.getErrors()) | 5957 | if (gErrorToText.getErrors()) |
5958 | { | 5958 | { |
@@ -6008,7 +6008,7 @@ S32 LLScriptShiftRight::getSize() | |||
6008 | return 0; | 6008 | return 0; |
6009 | } | 6009 | } |
6010 | 6010 | ||
6011 | void LLScriptParenthesis::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 6011 | void LLScriptParenthesis::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
6012 | { | 6012 | { |
6013 | if (gErrorToText.getErrors()) | 6013 | if (gErrorToText.getErrors()) |
6014 | { | 6014 | { |
@@ -6041,7 +6041,7 @@ S32 LLScriptParenthesis::getSize() | |||
6041 | return 0; | 6041 | return 0; |
6042 | } | 6042 | } |
6043 | 6043 | ||
6044 | void LLScriptUnaryMinus::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 6044 | void LLScriptUnaryMinus::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
6045 | { | 6045 | { |
6046 | if (gErrorToText.getErrors()) | 6046 | if (gErrorToText.getErrors()) |
6047 | { | 6047 | { |
@@ -6088,7 +6088,7 @@ S32 LLScriptUnaryMinus::getSize() | |||
6088 | return 0; | 6088 | return 0; |
6089 | } | 6089 | } |
6090 | 6090 | ||
6091 | void LLScriptBooleanNot::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 6091 | void LLScriptBooleanNot::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
6092 | { | 6092 | { |
6093 | if (gErrorToText.getErrors()) | 6093 | if (gErrorToText.getErrors()) |
6094 | { | 6094 | { |
@@ -6138,7 +6138,7 @@ S32 LLScriptBooleanNot::getSize() | |||
6138 | return 0; | 6138 | return 0; |
6139 | } | 6139 | } |
6140 | 6140 | ||
6141 | void LLScriptBitNot::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 6141 | void LLScriptBitNot::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
6142 | { | 6142 | { |
6143 | if (gErrorToText.getErrors()) | 6143 | if (gErrorToText.getErrors()) |
6144 | { | 6144 | { |
@@ -6187,7 +6187,7 @@ S32 LLScriptBitNot::getSize() | |||
6187 | return 0; | 6187 | return 0; |
6188 | } | 6188 | } |
6189 | 6189 | ||
6190 | void LLScriptPreIncrement::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 6190 | void LLScriptPreIncrement::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
6191 | { | 6191 | { |
6192 | if (gErrorToText.getErrors()) | 6192 | if (gErrorToText.getErrors()) |
6193 | { | 6193 | { |
@@ -6295,7 +6295,7 @@ S32 LLScriptPreIncrement::getSize() | |||
6295 | return 0; | 6295 | return 0; |
6296 | } | 6296 | } |
6297 | 6297 | ||
6298 | void LLScriptPreDecrement::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 6298 | void LLScriptPreDecrement::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
6299 | { | 6299 | { |
6300 | if (gErrorToText.getErrors()) | 6300 | if (gErrorToText.getErrors()) |
6301 | { | 6301 | { |
@@ -6403,7 +6403,7 @@ S32 LLScriptPreDecrement::getSize() | |||
6403 | return 0; | 6403 | return 0; |
6404 | } | 6404 | } |
6405 | 6405 | ||
6406 | void LLScriptTypeCast::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 6406 | void LLScriptTypeCast::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
6407 | { | 6407 | { |
6408 | if (gErrorToText.getErrors()) | 6408 | if (gErrorToText.getErrors()) |
6409 | { | 6409 | { |
@@ -6455,7 +6455,7 @@ S32 LLScriptTypeCast::getSize() | |||
6455 | return 0; | 6455 | return 0; |
6456 | } | 6456 | } |
6457 | 6457 | ||
6458 | void LLScriptVectorInitializer::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 6458 | void LLScriptVectorInitializer::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
6459 | { | 6459 | { |
6460 | if (gErrorToText.getErrors()) | 6460 | if (gErrorToText.getErrors()) |
6461 | { | 6461 | { |
@@ -6571,7 +6571,7 @@ S32 LLScriptVectorInitializer::getSize() | |||
6571 | return 0; | 6571 | return 0; |
6572 | } | 6572 | } |
6573 | 6573 | ||
6574 | void LLScriptQuaternionInitializer::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 6574 | void LLScriptQuaternionInitializer::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
6575 | { | 6575 | { |
6576 | if (gErrorToText.getErrors()) | 6576 | if (gErrorToText.getErrors()) |
6577 | { | 6577 | { |
@@ -6713,7 +6713,7 @@ S32 LLScriptQuaternionInitializer::getSize() | |||
6713 | return 0; | 6713 | return 0; |
6714 | } | 6714 | } |
6715 | 6715 | ||
6716 | void LLScriptListInitializer::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 6716 | void LLScriptListInitializer::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
6717 | { | 6717 | { |
6718 | if (gErrorToText.getErrors()) | 6718 | if (gErrorToText.getErrors()) |
6719 | { | 6719 | { |
@@ -6793,7 +6793,7 @@ S32 LLScriptListInitializer::getSize() | |||
6793 | return 0; | 6793 | return 0; |
6794 | } | 6794 | } |
6795 | 6795 | ||
6796 | void LLScriptPostIncrement::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 6796 | void LLScriptPostIncrement::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
6797 | { | 6797 | { |
6798 | if (gErrorToText.getErrors()) | 6798 | if (gErrorToText.getErrors()) |
6799 | { | 6799 | { |
@@ -6925,7 +6925,7 @@ S32 LLScriptPostIncrement::getSize() | |||
6925 | return 0; | 6925 | return 0; |
6926 | } | 6926 | } |
6927 | 6927 | ||
6928 | void LLScriptPostDecrement::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 6928 | void LLScriptPostDecrement::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
6929 | { | 6929 | { |
6930 | if (gErrorToText.getErrors()) | 6930 | if (gErrorToText.getErrors()) |
6931 | { | 6931 | { |
@@ -7058,7 +7058,7 @@ S32 LLScriptPostDecrement::getSize() | |||
7058 | } | 7058 | } |
7059 | 7059 | ||
7060 | // Generate arg list. | 7060 | // Generate arg list. |
7061 | void print_cil_arg_list(FILE *fp, LLScriptFuncExpressionList* exp_list) | 7061 | void print_cil_arg_list(LLFILE *fp, LLScriptFuncExpressionList* exp_list) |
7062 | { | 7062 | { |
7063 | // Print first argument. | 7063 | // Print first argument. |
7064 | print_cil_type(fp, exp_list->mFirstp->mReturnType); | 7064 | print_cil_type(fp, exp_list->mFirstp->mReturnType); |
@@ -7071,7 +7071,7 @@ void print_cil_arg_list(FILE *fp, LLScriptFuncExpressionList* exp_list) | |||
7071 | } | 7071 | } |
7072 | } | 7072 | } |
7073 | 7073 | ||
7074 | void LLScriptFunctionCall::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 7074 | void LLScriptFunctionCall::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
7075 | { | 7075 | { |
7076 | if (gErrorToText.getErrors()) | 7076 | if (gErrorToText.getErrors()) |
7077 | { | 7077 | { |
@@ -7260,7 +7260,7 @@ S32 LLScriptFunctionCall::getSize() | |||
7260 | return 0; | 7260 | return 0; |
7261 | } | 7261 | } |
7262 | 7262 | ||
7263 | void LLScriptPrint::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 7263 | void LLScriptPrint::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
7264 | { | 7264 | { |
7265 | if (gErrorToText.getErrors()) | 7265 | if (gErrorToText.getErrors()) |
7266 | { | 7266 | { |
@@ -7299,7 +7299,7 @@ S32 LLScriptPrint::getSize() | |||
7299 | return 0; | 7299 | return 0; |
7300 | } | 7300 | } |
7301 | 7301 | ||
7302 | void LLScriptConstantExpression::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 7302 | void LLScriptConstantExpression::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
7303 | { | 7303 | { |
7304 | if (gErrorToText.getErrors()) | 7304 | if (gErrorToText.getErrors()) |
7305 | { | 7305 | { |
@@ -7338,7 +7338,7 @@ void LLScriptStatement::addStatement(LLScriptStatement *event) | |||
7338 | mNextp = event; | 7338 | mNextp = event; |
7339 | } | 7339 | } |
7340 | 7340 | ||
7341 | void LLScriptStatement::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 7341 | void LLScriptStatement::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
7342 | { | 7342 | { |
7343 | fprintf(fp, "Statement Base Class -- should never get here!\n"); | 7343 | fprintf(fp, "Statement Base Class -- should never get here!\n"); |
7344 | } | 7344 | } |
@@ -7349,7 +7349,7 @@ S32 LLScriptStatement::getSize() | |||
7349 | return 0; | 7349 | return 0; |
7350 | } | 7350 | } |
7351 | 7351 | ||
7352 | void LLScriptStatement::gonext(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 7352 | void LLScriptStatement::gonext(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
7353 | { | 7353 | { |
7354 | if (gErrorToText.getErrors()) | 7354 | if (gErrorToText.getErrors()) |
7355 | { | 7355 | { |
@@ -7384,7 +7384,7 @@ S32 LLScriptStatementSequence::getSize() | |||
7384 | return 0; | 7384 | return 0; |
7385 | } | 7385 | } |
7386 | 7386 | ||
7387 | void LLScriptStatementSequence::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 7387 | void LLScriptStatementSequence::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
7388 | { | 7388 | { |
7389 | if (gErrorToText.getErrors()) | 7389 | if (gErrorToText.getErrors()) |
7390 | { | 7390 | { |
@@ -7431,7 +7431,7 @@ S32 LLScriptNOOP::getSize() | |||
7431 | return 0; | 7431 | return 0; |
7432 | } | 7432 | } |
7433 | 7433 | ||
7434 | void LLScriptNOOP::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 7434 | void LLScriptNOOP::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
7435 | { | 7435 | { |
7436 | if (gErrorToText.getErrors()) | 7436 | if (gErrorToText.getErrors()) |
7437 | { | 7437 | { |
@@ -7527,7 +7527,7 @@ void add_exit_pops(LLScriptByteCodeChunk *chunk, LLScriptScopeEntry *entry) | |||
7527 | } | 7527 | } |
7528 | } | 7528 | } |
7529 | 7529 | ||
7530 | void print_exit_pops(FILE *fp, LLScriptScopeEntry *entry) | 7530 | void print_exit_pops(LLFILE *fp, LLScriptScopeEntry *entry) |
7531 | { | 7531 | { |
7532 | // remember that we need to pop in reverse order | 7532 | // remember that we need to pop in reverse order |
7533 | S32 number, i; | 7533 | S32 number, i; |
@@ -7557,7 +7557,7 @@ S32 LLScriptStateChange::getSize() | |||
7557 | return 0; | 7557 | return 0; |
7558 | } | 7558 | } |
7559 | 7559 | ||
7560 | void LLScriptStateChange::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 7560 | void LLScriptStateChange::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
7561 | { | 7561 | { |
7562 | if (gErrorToText.getErrors()) | 7562 | if (gErrorToText.getErrors()) |
7563 | { | 7563 | { |
@@ -7627,7 +7627,7 @@ S32 LLScriptJump::getSize() | |||
7627 | return 0; | 7627 | return 0; |
7628 | } | 7628 | } |
7629 | 7629 | ||
7630 | void LLScriptJump::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 7630 | void LLScriptJump::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
7631 | { | 7631 | { |
7632 | if (gErrorToText.getErrors()) | 7632 | if (gErrorToText.getErrors()) |
7633 | { | 7633 | { |
@@ -7690,7 +7690,7 @@ S32 LLScriptLabel::getSize() | |||
7690 | return 0; | 7690 | return 0; |
7691 | } | 7691 | } |
7692 | 7692 | ||
7693 | void LLScriptLabel::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 7693 | void LLScriptLabel::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
7694 | { | 7694 | { |
7695 | if (gErrorToText.getErrors()) | 7695 | if (gErrorToText.getErrors()) |
7696 | { | 7696 | { |
@@ -7747,7 +7747,7 @@ void add_return(LLScriptByteCodeChunk *chunk, LLScriptScopeEntry *entry) | |||
7747 | chunk->addByte(LSCRIPTOpCodes[LOPC_RETURN]); | 7747 | chunk->addByte(LSCRIPTOpCodes[LOPC_RETURN]); |
7748 | } | 7748 | } |
7749 | 7749 | ||
7750 | void print_return(FILE *fp, LLScriptScopeEntry *entry) | 7750 | void print_return(LLFILE *fp, LLScriptScopeEntry *entry) |
7751 | { | 7751 | { |
7752 | print_exit_pops(fp, entry); | 7752 | print_exit_pops(fp, entry); |
7753 | fprintf(fp, "RETURN\n"); | 7753 | fprintf(fp, "RETURN\n"); |
@@ -7759,7 +7759,7 @@ S32 LLScriptReturn::getSize() | |||
7759 | return 0; | 7759 | return 0; |
7760 | } | 7760 | } |
7761 | 7761 | ||
7762 | void LLScriptReturn::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 7762 | void LLScriptReturn::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
7763 | { | 7763 | { |
7764 | if (gErrorToText.getErrors()) | 7764 | if (gErrorToText.getErrors()) |
7765 | { | 7765 | { |
@@ -7881,7 +7881,7 @@ S32 LLScriptExpressionStatement::getSize() | |||
7881 | return 0; | 7881 | return 0; |
7882 | } | 7882 | } |
7883 | 7883 | ||
7884 | void LLScriptExpressionStatement::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 7884 | void LLScriptExpressionStatement::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
7885 | { | 7885 | { |
7886 | if (gErrorToText.getErrors()) | 7886 | if (gErrorToText.getErrors()) |
7887 | { | 7887 | { |
@@ -7951,7 +7951,7 @@ S32 LLScriptIf::getSize() | |||
7951 | return 0; | 7951 | return 0; |
7952 | } | 7952 | } |
7953 | 7953 | ||
7954 | void LLScriptIf::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 7954 | void LLScriptIf::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
7955 | { | 7955 | { |
7956 | if (gErrorToText.getErrors()) | 7956 | if (gErrorToText.getErrors()) |
7957 | { | 7957 | { |
@@ -8022,7 +8022,7 @@ S32 LLScriptIfElse::getSize() | |||
8022 | return 0; | 8022 | return 0; |
8023 | } | 8023 | } |
8024 | 8024 | ||
8025 | void LLScriptIfElse::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 8025 | void LLScriptIfElse::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
8026 | { | 8026 | { |
8027 | if (gErrorToText.getErrors()) | 8027 | if (gErrorToText.getErrors()) |
8028 | { | 8028 | { |
@@ -8115,7 +8115,7 @@ S32 LLScriptFor::getSize() | |||
8115 | return 0; | 8115 | return 0; |
8116 | } | 8116 | } |
8117 | 8117 | ||
8118 | void LLScriptFor::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 8118 | void LLScriptFor::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
8119 | { | 8119 | { |
8120 | if (gErrorToText.getErrors()) | 8120 | if (gErrorToText.getErrors()) |
8121 | { | 8121 | { |
@@ -8230,7 +8230,7 @@ S32 LLScriptDoWhile::getSize() | |||
8230 | return 0; | 8230 | return 0; |
8231 | } | 8231 | } |
8232 | 8232 | ||
8233 | void LLScriptDoWhile::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 8233 | void LLScriptDoWhile::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
8234 | { | 8234 | { |
8235 | if (gErrorToText.getErrors()) | 8235 | if (gErrorToText.getErrors()) |
8236 | { | 8236 | { |
@@ -8303,7 +8303,7 @@ S32 LLScriptWhile::getSize() | |||
8303 | return 0; | 8303 | return 0; |
8304 | } | 8304 | } |
8305 | 8305 | ||
8306 | void LLScriptWhile::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 8306 | void LLScriptWhile::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
8307 | { | 8307 | { |
8308 | if (gErrorToText.getErrors()) | 8308 | if (gErrorToText.getErrors()) |
8309 | { | 8309 | { |
@@ -8386,7 +8386,7 @@ S32 LLScriptDeclaration::getSize() | |||
8386 | return mType->getSize(); | 8386 | return mType->getSize(); |
8387 | } | 8387 | } |
8388 | 8388 | ||
8389 | void LLScriptDeclaration::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 8389 | void LLScriptDeclaration::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
8390 | { | 8390 | { |
8391 | if (gErrorToText.getErrors()) | 8391 | if (gErrorToText.getErrors()) |
8392 | { | 8392 | { |
@@ -8645,7 +8645,7 @@ S32 LLScriptCompoundStatement::getSize() | |||
8645 | return 0; | 8645 | return 0; |
8646 | } | 8646 | } |
8647 | 8647 | ||
8648 | void LLScriptCompoundStatement::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 8648 | void LLScriptCompoundStatement::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
8649 | { | 8649 | { |
8650 | if (gErrorToText.getErrors()) | 8650 | if (gErrorToText.getErrors()) |
8651 | { | 8651 | { |
@@ -8721,7 +8721,7 @@ void LLScriptEventHandler::addEvent(LLScriptEventHandler *event) | |||
8721 | mNextp = event; | 8721 | mNextp = event; |
8722 | } | 8722 | } |
8723 | 8723 | ||
8724 | void LLScriptEventHandler::gonext(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 8724 | void LLScriptEventHandler::gonext(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
8725 | { | 8725 | { |
8726 | if (gErrorToText.getErrors()) | 8726 | if (gErrorToText.getErrors()) |
8727 | { | 8727 | { |
@@ -8751,7 +8751,7 @@ S32 LLScriptEventHandler::getSize() | |||
8751 | 8751 | ||
8752 | U64 gCurrentHandler = 0; | 8752 | U64 gCurrentHandler = 0; |
8753 | 8753 | ||
8754 | void print_cil_local_init(FILE* fp, LLScriptScopeEntry* scopeEntry) | 8754 | void print_cil_local_init(LLFILE* fp, LLScriptScopeEntry* scopeEntry) |
8755 | { | 8755 | { |
8756 | if(scopeEntry->mLocals.getNumber() > 0) | 8756 | if(scopeEntry->mLocals.getNumber() > 0) |
8757 | { | 8757 | { |
@@ -8768,7 +8768,7 @@ void print_cil_local_init(FILE* fp, LLScriptScopeEntry* scopeEntry) | |||
8768 | } | 8768 | } |
8769 | } | 8769 | } |
8770 | 8770 | ||
8771 | void LLScriptEventHandler::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 8771 | void LLScriptEventHandler::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
8772 | { | 8772 | { |
8773 | if (gErrorToText.getErrors()) | 8773 | if (gErrorToText.getErrors()) |
8774 | { | 8774 | { |
@@ -9071,7 +9071,7 @@ void LLScriptFunctionDec::addFunctionParameter(LLScriptFunctionDec *dec) | |||
9071 | mNextp = dec; | 9071 | mNextp = dec; |
9072 | } | 9072 | } |
9073 | 9073 | ||
9074 | void LLScriptFunctionDec::gonext(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 9074 | void LLScriptFunctionDec::gonext(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
9075 | { | 9075 | { |
9076 | if (gErrorToText.getErrors()) | 9076 | if (gErrorToText.getErrors()) |
9077 | { | 9077 | { |
@@ -9108,7 +9108,7 @@ S32 LLScriptFunctionDec::getSize() | |||
9108 | return 0; | 9108 | return 0; |
9109 | } | 9109 | } |
9110 | 9110 | ||
9111 | void LLScriptFunctionDec::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 9111 | void LLScriptFunctionDec::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
9112 | { | 9112 | { |
9113 | if (gErrorToText.getErrors()) | 9113 | if (gErrorToText.getErrors()) |
9114 | { | 9114 | { |
@@ -9194,7 +9194,7 @@ void LLScriptGlobalFunctions::addGlobalFunction(LLScriptGlobalFunctions *global) | |||
9194 | mNextp = global; | 9194 | mNextp = global; |
9195 | } | 9195 | } |
9196 | 9196 | ||
9197 | void LLScriptGlobalFunctions::gonext(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 9197 | void LLScriptGlobalFunctions::gonext(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
9198 | { | 9198 | { |
9199 | if (gErrorToText.getErrors()) | 9199 | if (gErrorToText.getErrors()) |
9200 | { | 9200 | { |
@@ -9222,7 +9222,7 @@ S32 LLScriptGlobalFunctions::getSize() | |||
9222 | return 0; | 9222 | return 0; |
9223 | } | 9223 | } |
9224 | 9224 | ||
9225 | void LLScriptGlobalFunctions::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 9225 | void LLScriptGlobalFunctions::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
9226 | { | 9226 | { |
9227 | if (gErrorToText.getErrors()) | 9227 | if (gErrorToText.getErrors()) |
9228 | { | 9228 | { |
@@ -9507,7 +9507,7 @@ void LLScriptState::addState(LLScriptState *state) | |||
9507 | mNextp = state; | 9507 | mNextp = state; |
9508 | } | 9508 | } |
9509 | 9509 | ||
9510 | void LLScriptState::gonext(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 9510 | void LLScriptState::gonext(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
9511 | { | 9511 | { |
9512 | if (gErrorToText.getErrors()) | 9512 | if (gErrorToText.getErrors()) |
9513 | { | 9513 | { |
@@ -9535,7 +9535,7 @@ S32 LLScriptState::getSize() | |||
9535 | return 0; | 9535 | return 0; |
9536 | } | 9536 | } |
9537 | 9537 | ||
9538 | void LLScriptState::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 9538 | void LLScriptState::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
9539 | { | 9539 | { |
9540 | if (gErrorToText.getErrors()) | 9540 | if (gErrorToText.getErrors()) |
9541 | { | 9541 | { |
@@ -9755,7 +9755,7 @@ void LLScriptScript::setBytecodeDest(const char* dst_filename) | |||
9755 | mBytecodeDest[MAX_STRING-1] = '\0'; | 9755 | mBytecodeDest[MAX_STRING-1] = '\0'; |
9756 | } | 9756 | } |
9757 | 9757 | ||
9758 | void print_cil_globals(FILE* fp, LLScriptGlobalVariable* global) | 9758 | void print_cil_globals(LLFILE* fp, LLScriptGlobalVariable* global) |
9759 | { | 9759 | { |
9760 | fprintf(fp, ".field private "); | 9760 | fprintf(fp, ".field private "); |
9761 | print_cil_type(fp, global->mType->mType); | 9761 | print_cil_type(fp, global->mType->mType); |
@@ -9768,7 +9768,7 @@ void print_cil_globals(FILE* fp, LLScriptGlobalVariable* global) | |||
9768 | } | 9768 | } |
9769 | } | 9769 | } |
9770 | 9770 | ||
9771 | void LLScriptScript::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 9771 | void LLScriptScript::recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
9772 | { | 9772 | { |
9773 | if (gErrorToText.getErrors()) | 9773 | if (gErrorToText.getErrors()) |
9774 | { | 9774 | { |
@@ -9939,7 +9939,7 @@ void LLScriptScript::recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass | |||
9939 | 9939 | ||
9940 | // now, put it all together and spit it out | 9940 | // now, put it all together and spit it out |
9941 | // we need | 9941 | // we need |
9942 | FILE* bcfp = LLFile::fopen(mBytecodeDest, "wb"); /*Flawfinder: ignore*/ | 9942 | LLFILE* bcfp = LLFile::fopen(mBytecodeDest, "wb"); /*Flawfinder: ignore*/ |
9943 | 9943 | ||
9944 | code->build(fp, bcfp); | 9944 | code->build(fp, bcfp); |
9945 | fclose(bcfp); | 9945 | fclose(bcfp); |
diff --git a/linden/indra/lscript/lscript_compile/lscript_tree.h b/linden/indra/lscript/lscript_compile/lscript_tree.h index 393b3e2..1c2ba1f 100644 --- a/linden/indra/lscript/lscript_compile/lscript_tree.h +++ b/linden/indra/lscript/lscript_compile/lscript_tree.h | |||
@@ -53,7 +53,7 @@ public: | |||
53 | 53 | ||
54 | ~LLScriptType() {} | 54 | ~LLScriptType() {} |
55 | 55 | ||
56 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 56 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
57 | S32 getSize(); | 57 | S32 getSize(); |
58 | 58 | ||
59 | LSCRIPTType mType; | 59 | LSCRIPTType mType; |
@@ -70,7 +70,7 @@ public: | |||
70 | 70 | ||
71 | virtual ~LLScriptConstant() {} | 71 | virtual ~LLScriptConstant() {} |
72 | 72 | ||
73 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 73 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
74 | S32 getSize(); | 74 | S32 getSize(); |
75 | 75 | ||
76 | LSCRIPTType mType; | 76 | LSCRIPTType mType; |
@@ -86,7 +86,7 @@ public: | |||
86 | 86 | ||
87 | ~LLScriptConstantInteger() {} | 87 | ~LLScriptConstantInteger() {} |
88 | 88 | ||
89 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 89 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
90 | S32 getSize(); | 90 | S32 getSize(); |
91 | 91 | ||
92 | S32 mValue; | 92 | S32 mValue; |
@@ -102,7 +102,7 @@ public: | |||
102 | 102 | ||
103 | ~LLScriptConstantFloat() {} | 103 | ~LLScriptConstantFloat() {} |
104 | 104 | ||
105 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 105 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
106 | S32 getSize(); | 106 | S32 getSize(); |
107 | 107 | ||
108 | F32 mValue; | 108 | F32 mValue; |
@@ -122,7 +122,7 @@ public: | |||
122 | mValue = NULL; | 122 | mValue = NULL; |
123 | } | 123 | } |
124 | 124 | ||
125 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 125 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
126 | S32 getSize(); | 126 | S32 getSize(); |
127 | 127 | ||
128 | char *mValue; | 128 | char *mValue; |
@@ -143,7 +143,7 @@ public: | |||
143 | mName = NULL; | 143 | mName = NULL; |
144 | } | 144 | } |
145 | 145 | ||
146 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 146 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
147 | S32 getSize(); | 147 | S32 getSize(); |
148 | 148 | ||
149 | char *mName; | 149 | char *mName; |
@@ -177,7 +177,7 @@ public: | |||
177 | // don't delete next pointer because we're going to store allocation lists and delete from those | 177 | // don't delete next pointer because we're going to store allocation lists and delete from those |
178 | } | 178 | } |
179 | 179 | ||
180 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 180 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
181 | S32 getSize(); | 181 | S32 getSize(); |
182 | 182 | ||
183 | LSCRIPTSimpleAssignableType mType; | 183 | LSCRIPTSimpleAssignableType mType; |
@@ -196,7 +196,7 @@ public: | |||
196 | { | 196 | { |
197 | } | 197 | } |
198 | 198 | ||
199 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 199 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
200 | S32 getSize(); | 200 | S32 getSize(); |
201 | 201 | ||
202 | LLScriptIdentifier *mIdentifier; | 202 | LLScriptIdentifier *mIdentifier; |
@@ -214,7 +214,7 @@ public: | |||
214 | { | 214 | { |
215 | } | 215 | } |
216 | 216 | ||
217 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 217 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
218 | S32 getSize(); | 218 | S32 getSize(); |
219 | 219 | ||
220 | LLScriptConstant *mConstant; | 220 | LLScriptConstant *mConstant; |
@@ -235,7 +235,7 @@ public: | |||
235 | { | 235 | { |
236 | } | 236 | } |
237 | 237 | ||
238 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 238 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
239 | S32 getSize(); | 239 | S32 getSize(); |
240 | 240 | ||
241 | LLScriptSimpleAssignable *mEntry1; | 241 | LLScriptSimpleAssignable *mEntry1; |
@@ -259,7 +259,7 @@ public: | |||
259 | { | 259 | { |
260 | } | 260 | } |
261 | 261 | ||
262 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 262 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
263 | S32 getSize(); | 263 | S32 getSize(); |
264 | 264 | ||
265 | LLScriptSimpleAssignable *mEntry1; | 265 | LLScriptSimpleAssignable *mEntry1; |
@@ -280,7 +280,7 @@ public: | |||
280 | { | 280 | { |
281 | } | 281 | } |
282 | 282 | ||
283 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 283 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
284 | S32 getSize(); | 284 | S32 getSize(); |
285 | 285 | ||
286 | LLScriptSimpleAssignable *mEntryList; | 286 | LLScriptSimpleAssignable *mEntryList; |
@@ -303,9 +303,9 @@ public: | |||
303 | { | 303 | { |
304 | } | 304 | } |
305 | 305 | ||
306 | void gonext(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 306 | void gonext(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
307 | 307 | ||
308 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 308 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
309 | S32 getSize(); | 309 | S32 getSize(); |
310 | 310 | ||
311 | LLScriptType *mType; | 311 | LLScriptType *mType; |
@@ -330,7 +330,7 @@ public: | |||
330 | // don't delete next pointer because we're going to store allocation lists and delete from those | 330 | // don't delete next pointer because we're going to store allocation lists and delete from those |
331 | } | 331 | } |
332 | 332 | ||
333 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 333 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
334 | S32 getSize(); | 334 | S32 getSize(); |
335 | 335 | ||
336 | LSCRIPTStateEventType mType; | 336 | LSCRIPTStateEventType mType; |
@@ -344,7 +344,7 @@ public: | |||
344 | { | 344 | { |
345 | } | 345 | } |
346 | 346 | ||
347 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 347 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
348 | S32 getSize(); | 348 | S32 getSize(); |
349 | 349 | ||
350 | ~LLScriptStateEntryEvent() {} | 350 | ~LLScriptStateEntryEvent() {} |
@@ -360,7 +360,7 @@ public: | |||
360 | 360 | ||
361 | ~LLScriptStateExitEvent() {} | 361 | ~LLScriptStateExitEvent() {} |
362 | 362 | ||
363 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 363 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
364 | S32 getSize(); | 364 | S32 getSize(); |
365 | }; | 365 | }; |
366 | 366 | ||
@@ -376,7 +376,7 @@ public: | |||
376 | { | 376 | { |
377 | } | 377 | } |
378 | 378 | ||
379 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 379 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
380 | S32 getSize(); | 380 | S32 getSize(); |
381 | 381 | ||
382 | LLScriptIdentifier *mCount; | 382 | LLScriptIdentifier *mCount; |
@@ -394,7 +394,7 @@ public: | |||
394 | { | 394 | { |
395 | } | 395 | } |
396 | 396 | ||
397 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 397 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
398 | S32 getSize(); | 398 | S32 getSize(); |
399 | 399 | ||
400 | LLScriptIdentifier *mCount; | 400 | LLScriptIdentifier *mCount; |
@@ -412,7 +412,7 @@ public: | |||
412 | { | 412 | { |
413 | } | 413 | } |
414 | 414 | ||
415 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 415 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
416 | S32 getSize(); | 416 | S32 getSize(); |
417 | 417 | ||
418 | LLScriptIdentifier *mCount; | 418 | LLScriptIdentifier *mCount; |
@@ -430,7 +430,7 @@ public: | |||
430 | { | 430 | { |
431 | } | 431 | } |
432 | 432 | ||
433 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 433 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
434 | S32 getSize(); | 434 | S32 getSize(); |
435 | 435 | ||
436 | LLScriptIdentifier *mCount; | 436 | LLScriptIdentifier *mCount; |
@@ -448,7 +448,7 @@ public: | |||
448 | { | 448 | { |
449 | } | 449 | } |
450 | 450 | ||
451 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 451 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
452 | S32 getSize(); | 452 | S32 getSize(); |
453 | 453 | ||
454 | LLScriptIdentifier *mCount; | 454 | LLScriptIdentifier *mCount; |
@@ -466,7 +466,7 @@ public: | |||
466 | { | 466 | { |
467 | } | 467 | } |
468 | 468 | ||
469 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 469 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
470 | S32 getSize(); | 470 | S32 getSize(); |
471 | 471 | ||
472 | LLScriptIdentifier *mCount; | 472 | LLScriptIdentifier *mCount; |
@@ -484,7 +484,7 @@ public: | |||
484 | { | 484 | { |
485 | } | 485 | } |
486 | 486 | ||
487 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 487 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
488 | S32 getSize(); | 488 | S32 getSize(); |
489 | 489 | ||
490 | LLScriptIdentifier *mPosition; | 490 | LLScriptIdentifier *mPosition; |
@@ -502,7 +502,7 @@ public: | |||
502 | { | 502 | { |
503 | } | 503 | } |
504 | 504 | ||
505 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 505 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
506 | S32 getSize(); | 506 | S32 getSize(); |
507 | 507 | ||
508 | LLScriptIdentifier *mPosition; | 508 | LLScriptIdentifier *mPosition; |
@@ -520,7 +520,7 @@ public: | |||
520 | { | 520 | { |
521 | } | 521 | } |
522 | 522 | ||
523 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 523 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
524 | S32 getSize(); | 524 | S32 getSize(); |
525 | 525 | ||
526 | LLScriptIdentifier *mPosition; | 526 | LLScriptIdentifier *mPosition; |
@@ -536,7 +536,7 @@ public: | |||
536 | 536 | ||
537 | ~LLScriptInventoryEvent() {} | 537 | ~LLScriptInventoryEvent() {} |
538 | 538 | ||
539 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 539 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
540 | S32 getSize(); | 540 | S32 getSize(); |
541 | 541 | ||
542 | LLScriptIdentifier *mChange; | 542 | LLScriptIdentifier *mChange; |
@@ -552,7 +552,7 @@ public: | |||
552 | 552 | ||
553 | ~LLScriptAttachEvent() {} | 553 | ~LLScriptAttachEvent() {} |
554 | 554 | ||
555 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 555 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
556 | S32 getSize(); | 556 | S32 getSize(); |
557 | 557 | ||
558 | LLScriptIdentifier *mAttach; | 558 | LLScriptIdentifier *mAttach; |
@@ -568,7 +568,7 @@ public: | |||
568 | 568 | ||
569 | ~LLScriptDataserverEvent() {} | 569 | ~LLScriptDataserverEvent() {} |
570 | 570 | ||
571 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 571 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
572 | S32 getSize(); | 572 | S32 getSize(); |
573 | 573 | ||
574 | LLScriptIdentifier *mID; | 574 | LLScriptIdentifier *mID; |
@@ -585,7 +585,7 @@ public: | |||
585 | 585 | ||
586 | ~LLScriptTimerEvent() {} | 586 | ~LLScriptTimerEvent() {} |
587 | 587 | ||
588 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 588 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
589 | S32 getSize(); | 589 | S32 getSize(); |
590 | }; | 590 | }; |
591 | 591 | ||
@@ -599,7 +599,7 @@ public: | |||
599 | 599 | ||
600 | ~LLScriptMovingStartEvent() {} | 600 | ~LLScriptMovingStartEvent() {} |
601 | 601 | ||
602 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 602 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
603 | S32 getSize(); | 603 | S32 getSize(); |
604 | }; | 604 | }; |
605 | 605 | ||
@@ -613,7 +613,7 @@ public: | |||
613 | 613 | ||
614 | ~LLScriptMovingEndEvent() {} | 614 | ~LLScriptMovingEndEvent() {} |
615 | 615 | ||
616 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 616 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
617 | S32 getSize(); | 617 | S32 getSize(); |
618 | }; | 618 | }; |
619 | 619 | ||
@@ -627,7 +627,7 @@ public: | |||
627 | 627 | ||
628 | ~LLScriptRTPEvent() {} | 628 | ~LLScriptRTPEvent() {} |
629 | 629 | ||
630 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 630 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
631 | S32 getSize(); | 631 | S32 getSize(); |
632 | 632 | ||
633 | LLScriptIdentifier *mRTPermissions; | 633 | LLScriptIdentifier *mRTPermissions; |
@@ -645,7 +645,7 @@ public: | |||
645 | { | 645 | { |
646 | } | 646 | } |
647 | 647 | ||
648 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 648 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
649 | S32 getSize(); | 649 | S32 getSize(); |
650 | 650 | ||
651 | LLScriptIdentifier *mChannel; | 651 | LLScriptIdentifier *mChannel; |
@@ -666,7 +666,7 @@ public: | |||
666 | { | 666 | { |
667 | } | 667 | } |
668 | 668 | ||
669 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 669 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
670 | S32 getSize(); | 670 | S32 getSize(); |
671 | 671 | ||
672 | LLScriptIdentifier *mID; | 672 | LLScriptIdentifier *mID; |
@@ -684,7 +684,7 @@ public: | |||
684 | { | 684 | { |
685 | } | 685 | } |
686 | 686 | ||
687 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 687 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
688 | S32 getSize(); | 688 | S32 getSize(); |
689 | 689 | ||
690 | LLScriptIdentifier *mNumber; | 690 | LLScriptIdentifier *mNumber; |
@@ -702,7 +702,7 @@ public: | |||
702 | { | 702 | { |
703 | } | 703 | } |
704 | 704 | ||
705 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 705 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
706 | S32 getSize(); | 706 | S32 getSize(); |
707 | 707 | ||
708 | LLScriptIdentifier *mName; | 708 | LLScriptIdentifier *mName; |
@@ -722,7 +722,7 @@ public: | |||
722 | { | 722 | { |
723 | } | 723 | } |
724 | 724 | ||
725 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 725 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
726 | S32 getSize(); | 726 | S32 getSize(); |
727 | 727 | ||
728 | LLScriptIdentifier *mSender; | 728 | LLScriptIdentifier *mSender; |
@@ -743,7 +743,7 @@ public: | |||
743 | { | 743 | { |
744 | } | 744 | } |
745 | 745 | ||
746 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 746 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
747 | S32 getSize(); | 747 | S32 getSize(); |
748 | 748 | ||
749 | LLScriptIdentifier *mType; | 749 | LLScriptIdentifier *mType; |
@@ -767,7 +767,7 @@ public: | |||
767 | { | 767 | { |
768 | } | 768 | } |
769 | 769 | ||
770 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, | 770 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, |
771 | LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, | 771 | LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, |
772 | LSCRIPTType &type, LSCRIPTType basetype, U64 &count, | 772 | LSCRIPTType &type, LSCRIPTType basetype, U64 &count, |
773 | LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, | 773 | LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, |
@@ -791,7 +791,7 @@ public: | |||
791 | } | 791 | } |
792 | ~LLScriptRezEvent() {} | 792 | ~LLScriptRezEvent() {} |
793 | 793 | ||
794 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 794 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
795 | S32 getSize(); | 795 | S32 getSize(); |
796 | 796 | ||
797 | LLScriptIdentifier *mStartParam; | 797 | LLScriptIdentifier *mStartParam; |
@@ -805,7 +805,7 @@ public: | |||
805 | { | 805 | { |
806 | } | 806 | } |
807 | 807 | ||
808 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 808 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
809 | S32 getSize(); | 809 | S32 getSize(); |
810 | 810 | ||
811 | ~LLScriptNoSensorEvent() {} | 811 | ~LLScriptNoSensorEvent() {} |
@@ -819,7 +819,7 @@ public: | |||
819 | { | 819 | { |
820 | } | 820 | } |
821 | 821 | ||
822 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 822 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
823 | S32 getSize(); | 823 | S32 getSize(); |
824 | 824 | ||
825 | ~LLScriptAtTarget() {} | 825 | ~LLScriptAtTarget() {} |
@@ -837,7 +837,7 @@ public: | |||
837 | { | 837 | { |
838 | } | 838 | } |
839 | 839 | ||
840 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 840 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
841 | S32 getSize(); | 841 | S32 getSize(); |
842 | 842 | ||
843 | ~LLScriptNotAtTarget() {} | 843 | ~LLScriptNotAtTarget() {} |
@@ -851,7 +851,7 @@ public: | |||
851 | { | 851 | { |
852 | } | 852 | } |
853 | 853 | ||
854 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 854 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
855 | S32 getSize(); | 855 | S32 getSize(); |
856 | 856 | ||
857 | ~LLScriptAtRotTarget() {} | 857 | ~LLScriptAtRotTarget() {} |
@@ -869,7 +869,7 @@ public: | |||
869 | { | 869 | { |
870 | } | 870 | } |
871 | 871 | ||
872 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 872 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
873 | S32 getSize(); | 873 | S32 getSize(); |
874 | 874 | ||
875 | ~LLScriptNotAtRotTarget() {} | 875 | ~LLScriptNotAtRotTarget() {} |
@@ -887,7 +887,7 @@ public: | |||
887 | { | 887 | { |
888 | } | 888 | } |
889 | 889 | ||
890 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 890 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
891 | S32 getSize(); | 891 | S32 getSize(); |
892 | 892 | ||
893 | LLScriptIdentifier *mName; | 893 | LLScriptIdentifier *mName; |
@@ -906,7 +906,7 @@ public: | |||
906 | { | 906 | { |
907 | } | 907 | } |
908 | 908 | ||
909 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 909 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
910 | S32 getSize(); | 910 | S32 getSize(); |
911 | 911 | ||
912 | LLScriptIdentifier *mTime; | 912 | LLScriptIdentifier *mTime; |
@@ -932,9 +932,9 @@ public: | |||
932 | // don't delete next pointer because we're going to store allocation lists and delete from those | 932 | // don't delete next pointer because we're going to store allocation lists and delete from those |
933 | } | 933 | } |
934 | 934 | ||
935 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 935 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
936 | 936 | ||
937 | void gonext(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 937 | void gonext(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
938 | S32 getSize(); | 938 | S32 getSize(); |
939 | 939 | ||
940 | LSCRIPTExpressionType mType; | 940 | LSCRIPTExpressionType mType; |
@@ -955,7 +955,7 @@ public: | |||
955 | { | 955 | { |
956 | } | 956 | } |
957 | 957 | ||
958 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 958 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
959 | S32 getSize(); | 959 | S32 getSize(); |
960 | 960 | ||
961 | LLScriptExpression *mFirstp; | 961 | LLScriptExpression *mFirstp; |
@@ -974,7 +974,7 @@ public: | |||
974 | { | 974 | { |
975 | } | 975 | } |
976 | 976 | ||
977 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 977 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
978 | S32 getSize(); | 978 | S32 getSize(); |
979 | 979 | ||
980 | LLScriptExpression *mFirstp; | 980 | LLScriptExpression *mFirstp; |
@@ -993,7 +993,7 @@ public: | |||
993 | { | 993 | { |
994 | } | 994 | } |
995 | 995 | ||
996 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 996 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
997 | S32 getSize(); | 997 | S32 getSize(); |
998 | 998 | ||
999 | LLScriptExpression *mFirstp; | 999 | LLScriptExpression *mFirstp; |
@@ -1012,7 +1012,7 @@ public: | |||
1012 | { | 1012 | { |
1013 | } | 1013 | } |
1014 | 1014 | ||
1015 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 1015 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
1016 | S32 getSize(); | 1016 | S32 getSize(); |
1017 | 1017 | ||
1018 | S32 mOffset; | 1018 | S32 mOffset; |
@@ -1032,7 +1032,7 @@ public: | |||
1032 | { | 1032 | { |
1033 | } | 1033 | } |
1034 | 1034 | ||
1035 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 1035 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
1036 | S32 getSize(); | 1036 | S32 getSize(); |
1037 | 1037 | ||
1038 | LLScriptExpression *mLValue; | 1038 | LLScriptExpression *mLValue; |
@@ -1051,7 +1051,7 @@ public: | |||
1051 | { | 1051 | { |
1052 | } | 1052 | } |
1053 | 1053 | ||
1054 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 1054 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
1055 | S32 getSize(); | 1055 | S32 getSize(); |
1056 | 1056 | ||
1057 | LLScriptExpression *mLValue; | 1057 | LLScriptExpression *mLValue; |
@@ -1070,7 +1070,7 @@ public: | |||
1070 | { | 1070 | { |
1071 | } | 1071 | } |
1072 | 1072 | ||
1073 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 1073 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
1074 | S32 getSize(); | 1074 | S32 getSize(); |
1075 | 1075 | ||
1076 | LLScriptExpression *mLValue; | 1076 | LLScriptExpression *mLValue; |
@@ -1089,7 +1089,7 @@ public: | |||
1089 | { | 1089 | { |
1090 | } | 1090 | } |
1091 | 1091 | ||
1092 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 1092 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
1093 | S32 getSize(); | 1093 | S32 getSize(); |
1094 | 1094 | ||
1095 | LLScriptExpression *mLValue; | 1095 | LLScriptExpression *mLValue; |
@@ -1108,7 +1108,7 @@ public: | |||
1108 | { | 1108 | { |
1109 | } | 1109 | } |
1110 | 1110 | ||
1111 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 1111 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
1112 | S32 getSize(); | 1112 | S32 getSize(); |
1113 | 1113 | ||
1114 | LLScriptExpression *mLValue; | 1114 | LLScriptExpression *mLValue; |
@@ -1127,7 +1127,7 @@ public: | |||
1127 | { | 1127 | { |
1128 | } | 1128 | } |
1129 | 1129 | ||
1130 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 1130 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
1131 | S32 getSize(); | 1131 | S32 getSize(); |
1132 | 1132 | ||
1133 | LLScriptExpression *mLValue; | 1133 | LLScriptExpression *mLValue; |
@@ -1146,7 +1146,7 @@ public: | |||
1146 | { | 1146 | { |
1147 | } | 1147 | } |
1148 | 1148 | ||
1149 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 1149 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
1150 | S32 getSize(); | 1150 | S32 getSize(); |
1151 | 1151 | ||
1152 | LLScriptExpression *mLeftSide; | 1152 | LLScriptExpression *mLeftSide; |
@@ -1165,7 +1165,7 @@ public: | |||
1165 | { | 1165 | { |
1166 | } | 1166 | } |
1167 | 1167 | ||
1168 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 1168 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
1169 | S32 getSize(); | 1169 | S32 getSize(); |
1170 | 1170 | ||
1171 | LLScriptExpression *mLeftSide; | 1171 | LLScriptExpression *mLeftSide; |
@@ -1184,7 +1184,7 @@ public: | |||
1184 | { | 1184 | { |
1185 | } | 1185 | } |
1186 | 1186 | ||
1187 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 1187 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
1188 | S32 getSize(); | 1188 | S32 getSize(); |
1189 | 1189 | ||
1190 | LLScriptExpression *mLeftSide; | 1190 | LLScriptExpression *mLeftSide; |
@@ -1203,7 +1203,7 @@ public: | |||
1203 | { | 1203 | { |
1204 | } | 1204 | } |
1205 | 1205 | ||
1206 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 1206 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
1207 | S32 getSize(); | 1207 | S32 getSize(); |
1208 | 1208 | ||
1209 | LLScriptExpression *mLeftSide; | 1209 | LLScriptExpression *mLeftSide; |
@@ -1222,7 +1222,7 @@ public: | |||
1222 | { | 1222 | { |
1223 | } | 1223 | } |
1224 | 1224 | ||
1225 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 1225 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
1226 | S32 getSize(); | 1226 | S32 getSize(); |
1227 | 1227 | ||
1228 | LLScriptExpression *mLeftSide; | 1228 | LLScriptExpression *mLeftSide; |
@@ -1241,7 +1241,7 @@ public: | |||
1241 | { | 1241 | { |
1242 | } | 1242 | } |
1243 | 1243 | ||
1244 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 1244 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
1245 | S32 getSize(); | 1245 | S32 getSize(); |
1246 | 1246 | ||
1247 | LLScriptExpression *mLeftSide; | 1247 | LLScriptExpression *mLeftSide; |
@@ -1260,7 +1260,7 @@ public: | |||
1260 | { | 1260 | { |
1261 | } | 1261 | } |
1262 | 1262 | ||
1263 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 1263 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
1264 | S32 getSize(); | 1264 | S32 getSize(); |
1265 | 1265 | ||
1266 | LLScriptExpression *mLeftSide; | 1266 | LLScriptExpression *mLeftSide; |
@@ -1279,7 +1279,7 @@ public: | |||
1279 | { | 1279 | { |
1280 | } | 1280 | } |
1281 | 1281 | ||
1282 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 1282 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
1283 | S32 getSize(); | 1283 | S32 getSize(); |
1284 | 1284 | ||
1285 | LLScriptExpression *mLeftSide; | 1285 | LLScriptExpression *mLeftSide; |
@@ -1298,7 +1298,7 @@ public: | |||
1298 | { | 1298 | { |
1299 | } | 1299 | } |
1300 | 1300 | ||
1301 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 1301 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
1302 | S32 getSize(); | 1302 | S32 getSize(); |
1303 | 1303 | ||
1304 | LLScriptExpression *mLeftSide; | 1304 | LLScriptExpression *mLeftSide; |
@@ -1317,7 +1317,7 @@ public: | |||
1317 | { | 1317 | { |
1318 | } | 1318 | } |
1319 | 1319 | ||
1320 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 1320 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
1321 | S32 getSize(); | 1321 | S32 getSize(); |
1322 | 1322 | ||
1323 | LLScriptExpression *mLeftSide; | 1323 | LLScriptExpression *mLeftSide; |
@@ -1336,7 +1336,7 @@ public: | |||
1336 | { | 1336 | { |
1337 | } | 1337 | } |
1338 | 1338 | ||
1339 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 1339 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
1340 | S32 getSize(); | 1340 | S32 getSize(); |
1341 | 1341 | ||
1342 | LLScriptExpression *mLeftSide; | 1342 | LLScriptExpression *mLeftSide; |
@@ -1355,7 +1355,7 @@ public: | |||
1355 | { | 1355 | { |
1356 | } | 1356 | } |
1357 | 1357 | ||
1358 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 1358 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
1359 | S32 getSize(); | 1359 | S32 getSize(); |
1360 | 1360 | ||
1361 | LLScriptExpression *mLeftSide; | 1361 | LLScriptExpression *mLeftSide; |
@@ -1374,7 +1374,7 @@ public: | |||
1374 | { | 1374 | { |
1375 | } | 1375 | } |
1376 | 1376 | ||
1377 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 1377 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
1378 | S32 getSize(); | 1378 | S32 getSize(); |
1379 | 1379 | ||
1380 | LLScriptExpression *mLeftSide; | 1380 | LLScriptExpression *mLeftSide; |
@@ -1393,7 +1393,7 @@ public: | |||
1393 | { | 1393 | { |
1394 | } | 1394 | } |
1395 | 1395 | ||
1396 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 1396 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
1397 | S32 getSize(); | 1397 | S32 getSize(); |
1398 | 1398 | ||
1399 | LLScriptExpression *mLeftSide; | 1399 | LLScriptExpression *mLeftSide; |
@@ -1412,7 +1412,7 @@ public: | |||
1412 | { | 1412 | { |
1413 | } | 1413 | } |
1414 | 1414 | ||
1415 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 1415 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
1416 | S32 getSize(); | 1416 | S32 getSize(); |
1417 | 1417 | ||
1418 | LLScriptExpression *mLeftSide; | 1418 | LLScriptExpression *mLeftSide; |
@@ -1431,7 +1431,7 @@ public: | |||
1431 | { | 1431 | { |
1432 | } | 1432 | } |
1433 | 1433 | ||
1434 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 1434 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
1435 | S32 getSize(); | 1435 | S32 getSize(); |
1436 | 1436 | ||
1437 | LLScriptExpression *mLeftSide; | 1437 | LLScriptExpression *mLeftSide; |
@@ -1450,7 +1450,7 @@ public: | |||
1450 | { | 1450 | { |
1451 | } | 1451 | } |
1452 | 1452 | ||
1453 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 1453 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
1454 | S32 getSize(); | 1454 | S32 getSize(); |
1455 | 1455 | ||
1456 | LLScriptExpression *mLeftSide; | 1456 | LLScriptExpression *mLeftSide; |
@@ -1469,7 +1469,7 @@ public: | |||
1469 | { | 1469 | { |
1470 | } | 1470 | } |
1471 | 1471 | ||
1472 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 1472 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
1473 | S32 getSize(); | 1473 | S32 getSize(); |
1474 | 1474 | ||
1475 | LLScriptExpression *mLeftSide; | 1475 | LLScriptExpression *mLeftSide; |
@@ -1488,7 +1488,7 @@ public: | |||
1488 | { | 1488 | { |
1489 | } | 1489 | } |
1490 | 1490 | ||
1491 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 1491 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
1492 | S32 getSize(); | 1492 | S32 getSize(); |
1493 | 1493 | ||
1494 | LLScriptExpression *mExpression; | 1494 | LLScriptExpression *mExpression; |
@@ -1506,7 +1506,7 @@ public: | |||
1506 | { | 1506 | { |
1507 | } | 1507 | } |
1508 | 1508 | ||
1509 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 1509 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
1510 | S32 getSize(); | 1510 | S32 getSize(); |
1511 | 1511 | ||
1512 | LLScriptExpression *mExpression; | 1512 | LLScriptExpression *mExpression; |
@@ -1524,7 +1524,7 @@ public: | |||
1524 | { | 1524 | { |
1525 | } | 1525 | } |
1526 | 1526 | ||
1527 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 1527 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
1528 | S32 getSize(); | 1528 | S32 getSize(); |
1529 | 1529 | ||
1530 | LLScriptExpression *mExpression; | 1530 | LLScriptExpression *mExpression; |
@@ -1542,7 +1542,7 @@ public: | |||
1542 | { | 1542 | { |
1543 | } | 1543 | } |
1544 | 1544 | ||
1545 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 1545 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
1546 | S32 getSize(); | 1546 | S32 getSize(); |
1547 | 1547 | ||
1548 | LLScriptExpression *mExpression; | 1548 | LLScriptExpression *mExpression; |
@@ -1560,7 +1560,7 @@ public: | |||
1560 | { | 1560 | { |
1561 | } | 1561 | } |
1562 | 1562 | ||
1563 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 1563 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
1564 | S32 getSize(); | 1564 | S32 getSize(); |
1565 | 1565 | ||
1566 | LLScriptExpression *mExpression; | 1566 | LLScriptExpression *mExpression; |
@@ -1578,7 +1578,7 @@ public: | |||
1578 | { | 1578 | { |
1579 | } | 1579 | } |
1580 | 1580 | ||
1581 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 1581 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
1582 | S32 getSize(); | 1582 | S32 getSize(); |
1583 | 1583 | ||
1584 | LLScriptExpression *mExpression; | 1584 | LLScriptExpression *mExpression; |
@@ -1596,7 +1596,7 @@ public: | |||
1596 | { | 1596 | { |
1597 | } | 1597 | } |
1598 | 1598 | ||
1599 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 1599 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
1600 | S32 getSize(); | 1600 | S32 getSize(); |
1601 | 1601 | ||
1602 | LLScriptType *mType; | 1602 | LLScriptType *mType; |
@@ -1620,7 +1620,7 @@ public: | |||
1620 | { | 1620 | { |
1621 | } | 1621 | } |
1622 | 1622 | ||
1623 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 1623 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
1624 | S32 getSize(); | 1624 | S32 getSize(); |
1625 | 1625 | ||
1626 | LLScriptExpression *mExpression1; | 1626 | LLScriptExpression *mExpression1; |
@@ -1647,7 +1647,7 @@ public: | |||
1647 | { | 1647 | { |
1648 | } | 1648 | } |
1649 | 1649 | ||
1650 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 1650 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
1651 | S32 getSize(); | 1651 | S32 getSize(); |
1652 | 1652 | ||
1653 | LLScriptExpression *mExpression1; | 1653 | LLScriptExpression *mExpression1; |
@@ -1668,7 +1668,7 @@ public: | |||
1668 | { | 1668 | { |
1669 | } | 1669 | } |
1670 | 1670 | ||
1671 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 1671 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
1672 | S32 getSize(); | 1672 | S32 getSize(); |
1673 | 1673 | ||
1674 | LLScriptExpression *mExpressionList; | 1674 | LLScriptExpression *mExpressionList; |
@@ -1686,7 +1686,7 @@ public: | |||
1686 | { | 1686 | { |
1687 | } | 1687 | } |
1688 | 1688 | ||
1689 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 1689 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
1690 | S32 getSize(); | 1690 | S32 getSize(); |
1691 | 1691 | ||
1692 | LLScriptExpression *mExpression; | 1692 | LLScriptExpression *mExpression; |
@@ -1704,7 +1704,7 @@ public: | |||
1704 | { | 1704 | { |
1705 | } | 1705 | } |
1706 | 1706 | ||
1707 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 1707 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
1708 | S32 getSize(); | 1708 | S32 getSize(); |
1709 | 1709 | ||
1710 | LLScriptExpression *mExpression; | 1710 | LLScriptExpression *mExpression; |
@@ -1722,7 +1722,7 @@ public: | |||
1722 | { | 1722 | { |
1723 | } | 1723 | } |
1724 | 1724 | ||
1725 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 1725 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
1726 | S32 getSize(); | 1726 | S32 getSize(); |
1727 | 1727 | ||
1728 | LLScriptIdentifier *mIdentifier; | 1728 | LLScriptIdentifier *mIdentifier; |
@@ -1741,7 +1741,7 @@ public: | |||
1741 | { | 1741 | { |
1742 | } | 1742 | } |
1743 | 1743 | ||
1744 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 1744 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
1745 | S32 getSize(); | 1745 | S32 getSize(); |
1746 | 1746 | ||
1747 | LLScriptExpression *mExpression; | 1747 | LLScriptExpression *mExpression; |
@@ -1759,7 +1759,7 @@ public: | |||
1759 | { | 1759 | { |
1760 | } | 1760 | } |
1761 | 1761 | ||
1762 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 1762 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
1763 | S32 getSize(); | 1763 | S32 getSize(); |
1764 | 1764 | ||
1765 | LLScriptConstant *mConstant; | 1765 | LLScriptConstant *mConstant; |
@@ -1801,9 +1801,9 @@ public: | |||
1801 | 1801 | ||
1802 | void addStatement(LLScriptStatement *event); | 1802 | void addStatement(LLScriptStatement *event); |
1803 | 1803 | ||
1804 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 1804 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
1805 | 1805 | ||
1806 | void gonext(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 1806 | void gonext(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
1807 | S32 getSize(); | 1807 | S32 getSize(); |
1808 | 1808 | ||
1809 | LSCRIPTStatementType mType; | 1809 | LSCRIPTStatementType mType; |
@@ -1824,7 +1824,7 @@ public: | |||
1824 | { | 1824 | { |
1825 | } | 1825 | } |
1826 | 1826 | ||
1827 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 1827 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
1828 | S32 getSize(); | 1828 | S32 getSize(); |
1829 | 1829 | ||
1830 | LLScriptStatement *mFirstp; | 1830 | LLScriptStatement *mFirstp; |
@@ -1841,7 +1841,7 @@ public: | |||
1841 | 1841 | ||
1842 | ~LLScriptNOOP() {} | 1842 | ~LLScriptNOOP() {} |
1843 | 1843 | ||
1844 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 1844 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
1845 | S32 getSize(); | 1845 | S32 getSize(); |
1846 | }; | 1846 | }; |
1847 | 1847 | ||
@@ -1857,7 +1857,7 @@ public: | |||
1857 | { | 1857 | { |
1858 | } | 1858 | } |
1859 | 1859 | ||
1860 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 1860 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
1861 | S32 getSize(); | 1861 | S32 getSize(); |
1862 | 1862 | ||
1863 | LLScriptIdentifier *mIdentifier; | 1863 | LLScriptIdentifier *mIdentifier; |
@@ -1875,7 +1875,7 @@ public: | |||
1875 | { | 1875 | { |
1876 | } | 1876 | } |
1877 | 1877 | ||
1878 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 1878 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
1879 | S32 getSize(); | 1879 | S32 getSize(); |
1880 | 1880 | ||
1881 | LLScriptIdentifier *mIdentifier; | 1881 | LLScriptIdentifier *mIdentifier; |
@@ -1893,7 +1893,7 @@ public: | |||
1893 | { | 1893 | { |
1894 | } | 1894 | } |
1895 | 1895 | ||
1896 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 1896 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
1897 | S32 getSize(); | 1897 | S32 getSize(); |
1898 | 1898 | ||
1899 | LLScriptIdentifier *mIdentifier; | 1899 | LLScriptIdentifier *mIdentifier; |
@@ -1911,7 +1911,7 @@ public: | |||
1911 | { | 1911 | { |
1912 | } | 1912 | } |
1913 | 1913 | ||
1914 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 1914 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
1915 | S32 getSize(); | 1915 | S32 getSize(); |
1916 | 1916 | ||
1917 | LLScriptExpression *mExpression; | 1917 | LLScriptExpression *mExpression; |
@@ -1930,7 +1930,7 @@ public: | |||
1930 | { | 1930 | { |
1931 | } | 1931 | } |
1932 | 1932 | ||
1933 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 1933 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
1934 | S32 getSize(); | 1934 | S32 getSize(); |
1935 | 1935 | ||
1936 | LLScriptExpression *mExpression; | 1936 | LLScriptExpression *mExpression; |
@@ -1948,7 +1948,7 @@ public: | |||
1948 | { | 1948 | { |
1949 | } | 1949 | } |
1950 | 1950 | ||
1951 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 1951 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
1952 | S32 getSize(); | 1952 | S32 getSize(); |
1953 | 1953 | ||
1954 | LSCRIPTType mType; | 1954 | LSCRIPTType mType; |
@@ -1968,7 +1968,7 @@ public: | |||
1968 | { | 1968 | { |
1969 | } | 1969 | } |
1970 | 1970 | ||
1971 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 1971 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
1972 | S32 getSize(); | 1972 | S32 getSize(); |
1973 | 1973 | ||
1974 | LLScriptExpression *mExpression; | 1974 | LLScriptExpression *mExpression; |
@@ -1989,7 +1989,7 @@ public: | |||
1989 | { | 1989 | { |
1990 | } | 1990 | } |
1991 | 1991 | ||
1992 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 1992 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
1993 | S32 getSize(); | 1993 | S32 getSize(); |
1994 | 1994 | ||
1995 | LLScriptExpression *mSequence; | 1995 | LLScriptExpression *mSequence; |
@@ -2011,7 +2011,7 @@ public: | |||
2011 | { | 2011 | { |
2012 | } | 2012 | } |
2013 | 2013 | ||
2014 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 2014 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
2015 | S32 getSize(); | 2015 | S32 getSize(); |
2016 | 2016 | ||
2017 | LLScriptStatement *mStatement; | 2017 | LLScriptStatement *mStatement; |
@@ -2031,7 +2031,7 @@ public: | |||
2031 | { | 2031 | { |
2032 | } | 2032 | } |
2033 | 2033 | ||
2034 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 2034 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
2035 | S32 getSize(); | 2035 | S32 getSize(); |
2036 | 2036 | ||
2037 | LLScriptExpression *mExpression; | 2037 | LLScriptExpression *mExpression; |
@@ -2052,7 +2052,7 @@ public: | |||
2052 | { | 2052 | { |
2053 | } | 2053 | } |
2054 | 2054 | ||
2055 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 2055 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
2056 | S32 getSize(); | 2056 | S32 getSize(); |
2057 | 2057 | ||
2058 | LLScriptType *mType; | 2058 | LLScriptType *mType; |
@@ -2072,7 +2072,7 @@ public: | |||
2072 | { | 2072 | { |
2073 | } | 2073 | } |
2074 | 2074 | ||
2075 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 2075 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
2076 | S32 getSize(); | 2076 | S32 getSize(); |
2077 | 2077 | ||
2078 | LLScriptStatement *mStatement; | 2078 | LLScriptStatement *mStatement; |
@@ -2094,9 +2094,9 @@ public: | |||
2094 | 2094 | ||
2095 | void addEvent(LLScriptEventHandler *event); | 2095 | void addEvent(LLScriptEventHandler *event); |
2096 | 2096 | ||
2097 | void gonext(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 2097 | void gonext(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
2098 | 2098 | ||
2099 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 2099 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
2100 | S32 getSize(); | 2100 | S32 getSize(); |
2101 | 2101 | ||
2102 | LLScriptEvent *mEventp; | 2102 | LLScriptEvent *mEventp; |
@@ -2126,9 +2126,9 @@ public: | |||
2126 | 2126 | ||
2127 | void addFunctionParameter(LLScriptFunctionDec *dec); | 2127 | void addFunctionParameter(LLScriptFunctionDec *dec); |
2128 | 2128 | ||
2129 | void gonext(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 2129 | void gonext(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
2130 | 2130 | ||
2131 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 2131 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
2132 | S32 getSize(); | 2132 | S32 getSize(); |
2133 | 2133 | ||
2134 | LLScriptType *mType; | 2134 | LLScriptType *mType; |
@@ -2154,9 +2154,9 @@ public: | |||
2154 | delete mFunctionScope; | 2154 | delete mFunctionScope; |
2155 | } | 2155 | } |
2156 | 2156 | ||
2157 | void gonext(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 2157 | void gonext(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
2158 | 2158 | ||
2159 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 2159 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
2160 | S32 getSize(); | 2160 | S32 getSize(); |
2161 | 2161 | ||
2162 | LLScriptType *mType; | 2162 | LLScriptType *mType; |
@@ -2192,9 +2192,9 @@ public: | |||
2192 | { | 2192 | { |
2193 | } | 2193 | } |
2194 | 2194 | ||
2195 | void gonext(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 2195 | void gonext(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
2196 | 2196 | ||
2197 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 2197 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
2198 | S32 getSize(); | 2198 | S32 getSize(); |
2199 | 2199 | ||
2200 | LSCRIPTStateType mType; | 2200 | LSCRIPTStateType mType; |
@@ -2222,7 +2222,7 @@ public: | |||
2222 | { | 2222 | { |
2223 | } | 2223 | } |
2224 | 2224 | ||
2225 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) | 2225 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
2226 | { | 2226 | { |
2227 | } | 2227 | } |
2228 | 2228 | ||
@@ -2257,7 +2257,7 @@ public: | |||
2257 | delete mGlobalScope; | 2257 | delete mGlobalScope; |
2258 | } | 2258 | } |
2259 | 2259 | ||
2260 | void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); | 2260 | void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata); |
2261 | S32 getSize(); | 2261 | S32 getSize(); |
2262 | 2262 | ||
2263 | void setBytecodeDest(const char* dst_filename); | 2263 | void setBytecodeDest(const char* dst_filename); |
diff --git a/linden/indra/lscript/lscript_compile/lscript_typecheck.cpp b/linden/indra/lscript/lscript_compile/lscript_typecheck.cpp index 8cfa815..8c3738d 100644 --- a/linden/indra/lscript/lscript_compile/lscript_typecheck.cpp +++ b/linden/indra/lscript/lscript_compile/lscript_typecheck.cpp | |||
@@ -351,10 +351,10 @@ void init_supported_expressions(void) | |||
351 | gSupportedExpressionArray[LET_MUL_ASSIGN][LST_INTEGER][LST_FLOATINGPOINT] = LST_FLOATINGPOINT; | 351 | gSupportedExpressionArray[LET_MUL_ASSIGN][LST_INTEGER][LST_FLOATINGPOINT] = LST_FLOATINGPOINT; |
352 | gSupportedExpressionArray[LET_MUL_ASSIGN][LST_FLOATINGPOINT][LST_FLOATINGPOINT] = LST_FLOATINGPOINT; | 352 | gSupportedExpressionArray[LET_MUL_ASSIGN][LST_FLOATINGPOINT][LST_FLOATINGPOINT] = LST_FLOATINGPOINT; |
353 | gSupportedExpressionArray[LET_MUL_ASSIGN][LST_VECTOR][LST_INTEGER] = LST_VECTOR; | 353 | gSupportedExpressionArray[LET_MUL_ASSIGN][LST_VECTOR][LST_INTEGER] = LST_VECTOR; |
354 | gSupportedExpressionArray[LET_MUL_ASSIGN][LST_INTEGER][LST_VECTOR] = LST_VECTOR; | 354 | //gSupportedExpressionArray[LET_MUL_ASSIGN][LST_INTEGER][LST_VECTOR] = LST_VECTOR; |
355 | gSupportedExpressionArray[LET_MUL_ASSIGN][LST_VECTOR][LST_FLOATINGPOINT] = LST_VECTOR; | 355 | gSupportedExpressionArray[LET_MUL_ASSIGN][LST_VECTOR][LST_FLOATINGPOINT] = LST_VECTOR; |
356 | gSupportedExpressionArray[LET_MUL_ASSIGN][LST_FLOATINGPOINT][LST_VECTOR] = LST_VECTOR; | 356 | //gSupportedExpressionArray[LET_MUL_ASSIGN][LST_FLOATINGPOINT][LST_VECTOR] = LST_VECTOR; |
357 | gSupportedExpressionArray[LET_MUL_ASSIGN][LST_VECTOR][LST_VECTOR] = LST_FLOATINGPOINT; | 357 | //gSupportedExpressionArray[LET_MUL_ASSIGN][LST_VECTOR][LST_VECTOR] = LST_FLOATINGPOINT; |
358 | gSupportedExpressionArray[LET_MUL_ASSIGN][LST_VECTOR][LST_QUATERNION] = LST_VECTOR; | 358 | gSupportedExpressionArray[LET_MUL_ASSIGN][LST_VECTOR][LST_QUATERNION] = LST_VECTOR; |
359 | gSupportedExpressionArray[LET_MUL_ASSIGN][LST_QUATERNION][LST_QUATERNION] = LST_QUATERNION; | 359 | gSupportedExpressionArray[LET_MUL_ASSIGN][LST_QUATERNION][LST_QUATERNION] = LST_QUATERNION; |
360 | 360 | ||
diff --git a/linden/indra/lscript/lscript_execute.h b/linden/indra/lscript/lscript_execute.h index e9353e3..997e04d 100644 --- a/linden/indra/lscript/lscript_execute.h +++ b/linden/indra/lscript/lscript_execute.h | |||
@@ -367,7 +367,7 @@ public: | |||
367 | class LLScriptExecute | 367 | class LLScriptExecute |
368 | { | 368 | { |
369 | public: | 369 | public: |
370 | LLScriptExecute(FILE *fp); | 370 | LLScriptExecute(LLFILE *fp); |
371 | LLScriptExecute(U8 *buffer); | 371 | LLScriptExecute(U8 *buffer); |
372 | ~LLScriptExecute(); | 372 | ~LLScriptExecute(); |
373 | 373 | ||
diff --git a/linden/indra/lscript/lscript_execute/lscript_execute.cpp b/linden/indra/lscript/lscript_execute/lscript_execute.cpp index d1200f0..643f3f6 100644 --- a/linden/indra/lscript/lscript_execute/lscript_execute.cpp +++ b/linden/indra/lscript/lscript_execute/lscript_execute.cpp | |||
@@ -61,7 +61,7 @@ char* LSCRIPTRunTimeFaultStrings[LSRF_EOF] = /*Flawfinder: ignore*/ | |||
61 | //static | 61 | //static |
62 | S64 LLScriptExecute::sGlobalInstructionCount = 0; | 62 | S64 LLScriptExecute::sGlobalInstructionCount = 0; |
63 | 63 | ||
64 | LLScriptExecute::LLScriptExecute(FILE *fp) | 64 | LLScriptExecute::LLScriptExecute(LLFILE *fp) |
65 | { | 65 | { |
66 | U8 sizearray[4]; | 66 | U8 sizearray[4]; |
67 | S32 filesize; | 67 | S32 filesize; |
@@ -3027,46 +3027,19 @@ BOOL run_return(U8 *buffer, S32 &offset, BOOL b_print, const LLUUID &id) | |||
3027 | if (b_print) | 3027 | if (b_print) |
3028 | printf("[0x%X]\tRETURN\n", offset); | 3028 | printf("[0x%X]\tRETURN\n", offset); |
3029 | offset++; | 3029 | offset++; |
3030 | S32 bp = lscript_pop_int(buffer); | 3030 | |
3031 | // SEC-53: babbage: broken instructions may allow inbalanced pushes and | ||
3032 | // pops which can cause caller BP and return IP to be corrupted, so restore | ||
3033 | // SP from BP before popping caller BP and IP. | ||
3034 | S32 bp = get_register(buffer, LREG_BP); | ||
3035 | set_sp(buffer, bp); | ||
3036 | |||
3037 | bp = lscript_pop_int(buffer); | ||
3031 | set_bp(buffer, bp); | 3038 | set_bp(buffer, bp); |
3032 | offset = lscript_pop_int(buffer); | 3039 | offset = lscript_pop_int(buffer); |
3033 | return FALSE; | 3040 | return FALSE; |
3034 | } | 3041 | } |
3035 | 3042 | ||
3036 | S32 axtoi(char *hexStg) | ||
3037 | { | ||
3038 | S32 n = 0; // position in string | ||
3039 | S32 m = 0; // position in digit[] to shift | ||
3040 | S32 count; // loop index | ||
3041 | S32 intValue = 0; // integer value of hex string | ||
3042 | S32 digit[9]; // hold values to convert | ||
3043 | while (n < 8) | ||
3044 | { | ||
3045 | if (hexStg[n]=='\0') | ||
3046 | break; | ||
3047 | if (hexStg[n] > 0x29 && hexStg[n] < 0x40 ) //if 0 to 9 | ||
3048 | digit[n] = hexStg[n] & 0x0f; //convert to int | ||
3049 | else if (hexStg[n] >='a' && hexStg[n] <= 'f') //if a to f | ||
3050 | digit[n] = (hexStg[n] & 0x0f) + 9; //convert to int | ||
3051 | else if (hexStg[n] >='A' && hexStg[n] <= 'F') //if A to F | ||
3052 | digit[n] = (hexStg[n] & 0x0f) + 9; //convert to int | ||
3053 | else break; | ||
3054 | n++; | ||
3055 | } | ||
3056 | count = n; | ||
3057 | m = n - 1; | ||
3058 | n = 0; | ||
3059 | while(n < count) | ||
3060 | { | ||
3061 | // digit[n] is value of hex digit at position n | ||
3062 | // (m << 2) is the number of positions to shift | ||
3063 | // OR the bits into return value | ||
3064 | intValue = intValue | (digit[n] << (m << 2)); | ||
3065 | m--; // adjust the position to set | ||
3066 | n++; // next digit to process | ||
3067 | } | ||
3068 | return (intValue); | ||
3069 | } | ||
3070 | 3043 | ||
3071 | 3044 | ||
3072 | BOOL run_cast(U8 *buffer, S32 &offset, BOOL b_print, const LLUUID &id) | 3045 | BOOL run_cast(U8 *buffer, S32 &offset, BOOL b_print, const LLUUID &id) |
@@ -3718,7 +3691,7 @@ void lscript_run(char *filename, BOOL b_debug) | |||
3718 | BOOL b_state; | 3691 | BOOL b_state; |
3719 | LLScriptExecute *execute = NULL; | 3692 | LLScriptExecute *execute = NULL; |
3720 | 3693 | ||
3721 | FILE* file = LLFile::fopen(filename, "r"); | 3694 | LLFILE* file = LLFile::fopen(filename, "r"); |
3722 | if (file) | 3695 | if (file) |
3723 | { | 3696 | { |
3724 | execute = new LLScriptExecute(file); | 3697 | execute = new LLScriptExecute(file); |
@@ -3727,7 +3700,7 @@ void lscript_run(char *filename, BOOL b_debug) | |||
3727 | file = LLFile::fopen(filename, "r"); | 3700 | file = LLFile::fopen(filename, "r"); |
3728 | if (file) | 3701 | if (file) |
3729 | { | 3702 | { |
3730 | FILE* fp = LLFile::fopen("lscript.parse", "w"); /*Flawfinder: ignore*/ | 3703 | LLFILE* fp = LLFile::fopen("lscript.parse", "w"); /*Flawfinder: ignore*/ |
3731 | LLScriptLSOParse *parse = new LLScriptLSOParse(file); | 3704 | LLScriptLSOParse *parse = new LLScriptLSOParse(file); |
3732 | parse->printData(fp); | 3705 | parse->printData(fp); |
3733 | delete parse; | 3706 | delete parse; |
diff --git a/linden/indra/lscript/lscript_execute/lscript_readlso.cpp b/linden/indra/lscript/lscript_execute/lscript_readlso.cpp index 218e14a..bfd59a7 100644 --- a/linden/indra/lscript/lscript_execute/lscript_readlso.cpp +++ b/linden/indra/lscript/lscript_execute/lscript_readlso.cpp | |||
@@ -35,7 +35,7 @@ | |||
35 | #include "lscript_library.h" | 35 | #include "lscript_library.h" |
36 | #include "lscript_alloc.h" | 36 | #include "lscript_alloc.h" |
37 | 37 | ||
38 | LLScriptLSOParse::LLScriptLSOParse(FILE *fp) | 38 | LLScriptLSOParse::LLScriptLSOParse(LLFILE *fp) |
39 | { | 39 | { |
40 | U8 sizearray[4]; | 40 | U8 sizearray[4]; |
41 | S32 filesize; | 41 | S32 filesize; |
@@ -68,7 +68,7 @@ LLScriptLSOParse::~LLScriptLSOParse() | |||
68 | delete [] mRawData; | 68 | delete [] mRawData; |
69 | } | 69 | } |
70 | 70 | ||
71 | void LLScriptLSOParse::printData(FILE *fp) | 71 | void LLScriptLSOParse::printData(LLFILE *fp) |
72 | { | 72 | { |
73 | 73 | ||
74 | 74 | ||
@@ -86,14 +86,14 @@ void LLScriptLSOParse::printData(FILE *fp) | |||
86 | printHeap(fp); | 86 | printHeap(fp); |
87 | } | 87 | } |
88 | 88 | ||
89 | void LLScriptLSOParse::printNameDesc(FILE *fp) | 89 | void LLScriptLSOParse::printNameDesc(LLFILE *fp) |
90 | { | 90 | { |
91 | fprintf(fp, "=============================\n\n"); | 91 | fprintf(fp, "=============================\n\n"); |
92 | } | 92 | } |
93 | 93 | ||
94 | S32 gMajorVersion = 0; | 94 | S32 gMajorVersion = 0; |
95 | 95 | ||
96 | void LLScriptLSOParse::printRegisters(FILE *fp) | 96 | void LLScriptLSOParse::printRegisters(LLFILE *fp) |
97 | { | 97 | { |
98 | // print out registers first | 98 | // print out registers first |
99 | S32 i; | 99 | S32 i; |
@@ -125,7 +125,7 @@ void LLScriptLSOParse::printRegisters(FILE *fp) | |||
125 | fprintf(fp, "=============================\n\n"); | 125 | fprintf(fp, "=============================\n\n"); |
126 | } | 126 | } |
127 | 127 | ||
128 | void LLScriptLSOParse::printGlobals(FILE *fp) | 128 | void LLScriptLSOParse::printGlobals(LLFILE *fp) |
129 | { | 129 | { |
130 | // print out registers first | 130 | // print out registers first |
131 | S32 offset, varoffset; | 131 | S32 offset, varoffset; |
@@ -195,7 +195,7 @@ void LLScriptLSOParse::printGlobals(FILE *fp) | |||
195 | fprintf(fp, "=============================\n\n"); | 195 | fprintf(fp, "=============================\n\n"); |
196 | } | 196 | } |
197 | 197 | ||
198 | void LLScriptLSOParse::printGlobalFunctions(FILE *fp) | 198 | void LLScriptLSOParse::printGlobalFunctions(LLFILE *fp) |
199 | { | 199 | { |
200 | // print out registers first | 200 | // print out registers first |
201 | S32 i, offset; | 201 | S32 i, offset; |
@@ -284,7 +284,7 @@ void LLScriptLSOParse::printGlobalFunctions(FILE *fp) | |||
284 | fprintf(fp, "=============================\n\n"); | 284 | fprintf(fp, "=============================\n\n"); |
285 | } | 285 | } |
286 | 286 | ||
287 | void LLScriptLSOParse::printStates(FILE *fp) | 287 | void LLScriptLSOParse::printStates(LLFILE *fp) |
288 | { | 288 | { |
289 | // print out registers first | 289 | // print out registers first |
290 | S32 i, offset; | 290 | S32 i, offset; |
@@ -637,7 +637,7 @@ void LLScriptLSOParse::printStates(FILE *fp) | |||
637 | fprintf(fp, "=============================\n\n"); | 637 | fprintf(fp, "=============================\n\n"); |
638 | } | 638 | } |
639 | 639 | ||
640 | void LLScriptLSOParse::printHeap(FILE *fp) | 640 | void LLScriptLSOParse::printHeap(LLFILE *fp) |
641 | { | 641 | { |
642 | // print out registers first | 642 | // print out registers first |
643 | 643 | ||
@@ -652,7 +652,7 @@ void LLScriptLSOParse::printHeap(FILE *fp) | |||
652 | fprintf(fp, "=============================\n\n"); | 652 | fprintf(fp, "=============================\n\n"); |
653 | } | 653 | } |
654 | 654 | ||
655 | void lso_print_tabs(FILE *fp, S32 tabs) | 655 | void lso_print_tabs(LLFILE *fp, S32 tabs) |
656 | { | 656 | { |
657 | S32 i; | 657 | S32 i; |
658 | for (i = 0; i < tabs; i++) | 658 | for (i = 0; i < tabs; i++) |
@@ -661,13 +661,13 @@ void lso_print_tabs(FILE *fp, S32 tabs) | |||
661 | } | 661 | } |
662 | } | 662 | } |
663 | 663 | ||
664 | void LLScriptLSOParse::printOpCodes(FILE *fp, S32 &offset, S32 tabs) | 664 | void LLScriptLSOParse::printOpCodes(LLFILE *fp, S32 &offset, S32 tabs) |
665 | { | 665 | { |
666 | U8 opcode = *(mRawData + offset); | 666 | U8 opcode = *(mRawData + offset); |
667 | mPrintOpCodes[opcode](fp, mRawData, offset, tabs); | 667 | mPrintOpCodes[opcode](fp, mRawData, offset, tabs); |
668 | } | 668 | } |
669 | 669 | ||
670 | void LLScriptLSOParse::printOpCodeRange(FILE *fp, S32 start, S32 end, S32 tabs) | 670 | void LLScriptLSOParse::printOpCodeRange(LLFILE *fp, S32 start, S32 end, S32 tabs) |
671 | { | 671 | { |
672 | while (start < end) | 672 | while (start < end) |
673 | { | 673 | { |
@@ -791,43 +791,43 @@ void LLScriptLSOParse::initOpCodePrinting() | |||
791 | mPrintOpCodes[LSCRIPTOpCodes[LOPC_CALLLIB_TWO_BYTE]] = print_calllib_two_byte; | 791 | mPrintOpCodes[LSCRIPTOpCodes[LOPC_CALLLIB_TWO_BYTE]] = print_calllib_two_byte; |
792 | } | 792 | } |
793 | 793 | ||
794 | void print_noop(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 794 | void print_noop(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
795 | { | 795 | { |
796 | lso_print_tabs(fp, tabs); | 796 | lso_print_tabs(fp, tabs); |
797 | fprintf(fp, "[0x%X]\tNOOP\n", offset++); | 797 | fprintf(fp, "[0x%X]\tNOOP\n", offset++); |
798 | } | 798 | } |
799 | 799 | ||
800 | void print_pop(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 800 | void print_pop(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
801 | { | 801 | { |
802 | lso_print_tabs(fp, tabs); | 802 | lso_print_tabs(fp, tabs); |
803 | fprintf(fp, "[0x%X]\tPOP\n", offset++); | 803 | fprintf(fp, "[0x%X]\tPOP\n", offset++); |
804 | } | 804 | } |
805 | 805 | ||
806 | void print_pops(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 806 | void print_pops(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
807 | { | 807 | { |
808 | lso_print_tabs(fp, tabs); | 808 | lso_print_tabs(fp, tabs); |
809 | fprintf(fp, "[0x%X]\tPOPS\n", offset++); | 809 | fprintf(fp, "[0x%X]\tPOPS\n", offset++); |
810 | } | 810 | } |
811 | 811 | ||
812 | void print_popl(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 812 | void print_popl(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
813 | { | 813 | { |
814 | lso_print_tabs(fp, tabs); | 814 | lso_print_tabs(fp, tabs); |
815 | fprintf(fp, "[0x%X]\tPOPL\n", offset++); | 815 | fprintf(fp, "[0x%X]\tPOPL\n", offset++); |
816 | } | 816 | } |
817 | 817 | ||
818 | void print_popv(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 818 | void print_popv(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
819 | { | 819 | { |
820 | lso_print_tabs(fp, tabs); | 820 | lso_print_tabs(fp, tabs); |
821 | fprintf(fp, "[0x%X]\tPOPV\n", offset++); | 821 | fprintf(fp, "[0x%X]\tPOPV\n", offset++); |
822 | } | 822 | } |
823 | 823 | ||
824 | void print_popq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 824 | void print_popq(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
825 | { | 825 | { |
826 | lso_print_tabs(fp, tabs); | 826 | lso_print_tabs(fp, tabs); |
827 | fprintf(fp, "[0x%X]\tPOPQ\n", offset++); | 827 | fprintf(fp, "[0x%X]\tPOPQ\n", offset++); |
828 | } | 828 | } |
829 | 829 | ||
830 | void print_poparg(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 830 | void print_poparg(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
831 | { | 831 | { |
832 | S32 arg; | 832 | S32 arg; |
833 | lso_print_tabs(fp, tabs); | 833 | lso_print_tabs(fp, tabs); |
@@ -836,61 +836,61 @@ void print_poparg(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
836 | fprintf(fp, "%d\n", arg); | 836 | fprintf(fp, "%d\n", arg); |
837 | } | 837 | } |
838 | 838 | ||
839 | void print_popip(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 839 | void print_popip(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
840 | { | 840 | { |
841 | lso_print_tabs(fp, tabs); | 841 | lso_print_tabs(fp, tabs); |
842 | fprintf(fp, "[0x%X]\tPOPIP\n", offset++); | 842 | fprintf(fp, "[0x%X]\tPOPIP\n", offset++); |
843 | } | 843 | } |
844 | 844 | ||
845 | void print_popbp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 845 | void print_popbp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
846 | { | 846 | { |
847 | lso_print_tabs(fp, tabs); | 847 | lso_print_tabs(fp, tabs); |
848 | fprintf(fp, "[0x%X]\tPOPBP\n", offset++); | 848 | fprintf(fp, "[0x%X]\tPOPBP\n", offset++); |
849 | } | 849 | } |
850 | 850 | ||
851 | void print_popsp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 851 | void print_popsp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
852 | { | 852 | { |
853 | lso_print_tabs(fp, tabs); | 853 | lso_print_tabs(fp, tabs); |
854 | fprintf(fp, "[0x%X]\tPOPSP\n", offset++); | 854 | fprintf(fp, "[0x%X]\tPOPSP\n", offset++); |
855 | } | 855 | } |
856 | 856 | ||
857 | void print_popslr(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 857 | void print_popslr(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
858 | { | 858 | { |
859 | lso_print_tabs(fp, tabs); | 859 | lso_print_tabs(fp, tabs); |
860 | fprintf(fp, "[0x%X]\tPOPSLR\n", offset++); | 860 | fprintf(fp, "[0x%X]\tPOPSLR\n", offset++); |
861 | } | 861 | } |
862 | 862 | ||
863 | void print_dup(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 863 | void print_dup(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
864 | { | 864 | { |
865 | lso_print_tabs(fp, tabs); | 865 | lso_print_tabs(fp, tabs); |
866 | fprintf(fp, "[0x%X]\tDUP\n", offset++); | 866 | fprintf(fp, "[0x%X]\tDUP\n", offset++); |
867 | } | 867 | } |
868 | 868 | ||
869 | void print_dups(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 869 | void print_dups(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
870 | { | 870 | { |
871 | lso_print_tabs(fp, tabs); | 871 | lso_print_tabs(fp, tabs); |
872 | fprintf(fp, "[0x%X]\tDUPS\n", offset++); | 872 | fprintf(fp, "[0x%X]\tDUPS\n", offset++); |
873 | } | 873 | } |
874 | 874 | ||
875 | void print_dupl(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 875 | void print_dupl(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
876 | { | 876 | { |
877 | lso_print_tabs(fp, tabs); | 877 | lso_print_tabs(fp, tabs); |
878 | fprintf(fp, "[0x%X]\tDUPL\n", offset++); | 878 | fprintf(fp, "[0x%X]\tDUPL\n", offset++); |
879 | } | 879 | } |
880 | 880 | ||
881 | void print_dupv(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 881 | void print_dupv(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
882 | { | 882 | { |
883 | lso_print_tabs(fp, tabs); | 883 | lso_print_tabs(fp, tabs); |
884 | fprintf(fp, "[0x%X]\tDUPV\n", offset++); | 884 | fprintf(fp, "[0x%X]\tDUPV\n", offset++); |
885 | } | 885 | } |
886 | 886 | ||
887 | void print_dupq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 887 | void print_dupq(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
888 | { | 888 | { |
889 | lso_print_tabs(fp, tabs); | 889 | lso_print_tabs(fp, tabs); |
890 | fprintf(fp, "[0x%X]\tDUPQ\n", offset++); | 890 | fprintf(fp, "[0x%X]\tDUPQ\n", offset++); |
891 | } | 891 | } |
892 | 892 | ||
893 | void print_store(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 893 | void print_store(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
894 | { | 894 | { |
895 | S32 arg; | 895 | S32 arg; |
896 | lso_print_tabs(fp, tabs); | 896 | lso_print_tabs(fp, tabs); |
@@ -899,7 +899,7 @@ void print_store(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
899 | fprintf(fp, "%d\n", arg); | 899 | fprintf(fp, "%d\n", arg); |
900 | } | 900 | } |
901 | 901 | ||
902 | void print_stores(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 902 | void print_stores(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
903 | { | 903 | { |
904 | S32 arg; | 904 | S32 arg; |
905 | lso_print_tabs(fp, tabs); | 905 | lso_print_tabs(fp, tabs); |
@@ -908,7 +908,7 @@ void print_stores(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
908 | fprintf(fp, "%d\n", arg); | 908 | fprintf(fp, "%d\n", arg); |
909 | } | 909 | } |
910 | 910 | ||
911 | void print_storel(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 911 | void print_storel(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
912 | { | 912 | { |
913 | S32 arg; | 913 | S32 arg; |
914 | lso_print_tabs(fp, tabs); | 914 | lso_print_tabs(fp, tabs); |
@@ -917,7 +917,7 @@ void print_storel(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
917 | fprintf(fp, "%d\n", arg); | 917 | fprintf(fp, "%d\n", arg); |
918 | } | 918 | } |
919 | 919 | ||
920 | void print_storev(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 920 | void print_storev(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
921 | { | 921 | { |
922 | S32 arg; | 922 | S32 arg; |
923 | lso_print_tabs(fp, tabs); | 923 | lso_print_tabs(fp, tabs); |
@@ -926,7 +926,7 @@ void print_storev(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
926 | fprintf(fp, "%d\n", arg); | 926 | fprintf(fp, "%d\n", arg); |
927 | } | 927 | } |
928 | 928 | ||
929 | void print_storeq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 929 | void print_storeq(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
930 | { | 930 | { |
931 | S32 arg; | 931 | S32 arg; |
932 | lso_print_tabs(fp, tabs); | 932 | lso_print_tabs(fp, tabs); |
@@ -935,7 +935,7 @@ void print_storeq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
935 | fprintf(fp, "%d\n", arg); | 935 | fprintf(fp, "%d\n", arg); |
936 | } | 936 | } |
937 | 937 | ||
938 | void print_storeg(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 938 | void print_storeg(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
939 | { | 939 | { |
940 | S32 arg; | 940 | S32 arg; |
941 | lso_print_tabs(fp, tabs); | 941 | lso_print_tabs(fp, tabs); |
@@ -944,7 +944,7 @@ void print_storeg(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
944 | fprintf(fp, "%d\n", arg + get_register(buffer, LREG_GVR)); | 944 | fprintf(fp, "%d\n", arg + get_register(buffer, LREG_GVR)); |
945 | } | 945 | } |
946 | 946 | ||
947 | void print_storegs(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 947 | void print_storegs(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
948 | { | 948 | { |
949 | S32 arg; | 949 | S32 arg; |
950 | lso_print_tabs(fp, tabs); | 950 | lso_print_tabs(fp, tabs); |
@@ -953,7 +953,7 @@ void print_storegs(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
953 | fprintf(fp, "%d\n", arg + get_register(buffer, LREG_GVR)); | 953 | fprintf(fp, "%d\n", arg + get_register(buffer, LREG_GVR)); |
954 | } | 954 | } |
955 | 955 | ||
956 | void print_storegl(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 956 | void print_storegl(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
957 | { | 957 | { |
958 | S32 arg; | 958 | S32 arg; |
959 | lso_print_tabs(fp, tabs); | 959 | lso_print_tabs(fp, tabs); |
@@ -962,7 +962,7 @@ void print_storegl(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
962 | fprintf(fp, "%d\n", arg + get_register(buffer, LREG_GVR)); | 962 | fprintf(fp, "%d\n", arg + get_register(buffer, LREG_GVR)); |
963 | } | 963 | } |
964 | 964 | ||
965 | void print_storegv(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 965 | void print_storegv(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
966 | { | 966 | { |
967 | S32 arg; | 967 | S32 arg; |
968 | lso_print_tabs(fp, tabs); | 968 | lso_print_tabs(fp, tabs); |
@@ -971,7 +971,7 @@ void print_storegv(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
971 | fprintf(fp, "%d\n", arg + get_register(buffer, LREG_GVR)); | 971 | fprintf(fp, "%d\n", arg + get_register(buffer, LREG_GVR)); |
972 | } | 972 | } |
973 | 973 | ||
974 | void print_storegq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 974 | void print_storegq(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
975 | { | 975 | { |
976 | S32 arg; | 976 | S32 arg; |
977 | lso_print_tabs(fp, tabs); | 977 | lso_print_tabs(fp, tabs); |
@@ -980,7 +980,7 @@ void print_storegq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
980 | fprintf(fp, "%d\n", arg + get_register(buffer, LREG_GVR)); | 980 | fprintf(fp, "%d\n", arg + get_register(buffer, LREG_GVR)); |
981 | } | 981 | } |
982 | 982 | ||
983 | void print_loadp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 983 | void print_loadp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
984 | { | 984 | { |
985 | S32 arg; | 985 | S32 arg; |
986 | lso_print_tabs(fp, tabs); | 986 | lso_print_tabs(fp, tabs); |
@@ -989,7 +989,7 @@ void print_loadp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
989 | fprintf(fp, "%d\n", arg); | 989 | fprintf(fp, "%d\n", arg); |
990 | } | 990 | } |
991 | 991 | ||
992 | void print_loadsp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 992 | void print_loadsp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
993 | { | 993 | { |
994 | S32 arg; | 994 | S32 arg; |
995 | lso_print_tabs(fp, tabs); | 995 | lso_print_tabs(fp, tabs); |
@@ -998,7 +998,7 @@ void print_loadsp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
998 | fprintf(fp, "%d\n", arg); | 998 | fprintf(fp, "%d\n", arg); |
999 | } | 999 | } |
1000 | 1000 | ||
1001 | void print_loadlp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1001 | void print_loadlp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1002 | { | 1002 | { |
1003 | S32 arg; | 1003 | S32 arg; |
1004 | lso_print_tabs(fp, tabs); | 1004 | lso_print_tabs(fp, tabs); |
@@ -1007,7 +1007,7 @@ void print_loadlp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
1007 | fprintf(fp, "%d\n", arg); | 1007 | fprintf(fp, "%d\n", arg); |
1008 | } | 1008 | } |
1009 | 1009 | ||
1010 | void print_loadvp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1010 | void print_loadvp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1011 | { | 1011 | { |
1012 | S32 arg; | 1012 | S32 arg; |
1013 | lso_print_tabs(fp, tabs); | 1013 | lso_print_tabs(fp, tabs); |
@@ -1016,7 +1016,7 @@ void print_loadvp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
1016 | fprintf(fp, "%d\n", arg); | 1016 | fprintf(fp, "%d\n", arg); |
1017 | } | 1017 | } |
1018 | 1018 | ||
1019 | void print_loadqp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1019 | void print_loadqp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1020 | { | 1020 | { |
1021 | S32 arg; | 1021 | S32 arg; |
1022 | lso_print_tabs(fp, tabs); | 1022 | lso_print_tabs(fp, tabs); |
@@ -1025,7 +1025,7 @@ void print_loadqp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
1025 | fprintf(fp, "%d\n", arg); | 1025 | fprintf(fp, "%d\n", arg); |
1026 | } | 1026 | } |
1027 | 1027 | ||
1028 | void print_loadgp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1028 | void print_loadgp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1029 | { | 1029 | { |
1030 | S32 arg; | 1030 | S32 arg; |
1031 | lso_print_tabs(fp, tabs); | 1031 | lso_print_tabs(fp, tabs); |
@@ -1034,7 +1034,7 @@ void print_loadgp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
1034 | fprintf(fp, "%d\n", arg + get_register(buffer, LREG_GVR)); | 1034 | fprintf(fp, "%d\n", arg + get_register(buffer, LREG_GVR)); |
1035 | } | 1035 | } |
1036 | 1036 | ||
1037 | void print_loadgsp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1037 | void print_loadgsp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1038 | { | 1038 | { |
1039 | S32 arg; | 1039 | S32 arg; |
1040 | lso_print_tabs(fp, tabs); | 1040 | lso_print_tabs(fp, tabs); |
@@ -1043,7 +1043,7 @@ void print_loadgsp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
1043 | fprintf(fp, "%d\n", arg + get_register(buffer, LREG_GVR)); | 1043 | fprintf(fp, "%d\n", arg + get_register(buffer, LREG_GVR)); |
1044 | } | 1044 | } |
1045 | 1045 | ||
1046 | void print_loadglp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1046 | void print_loadglp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1047 | { | 1047 | { |
1048 | S32 arg; | 1048 | S32 arg; |
1049 | lso_print_tabs(fp, tabs); | 1049 | lso_print_tabs(fp, tabs); |
@@ -1052,7 +1052,7 @@ void print_loadglp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
1052 | fprintf(fp, "%d\n", arg + get_register(buffer, LREG_GVR)); | 1052 | fprintf(fp, "%d\n", arg + get_register(buffer, LREG_GVR)); |
1053 | } | 1053 | } |
1054 | 1054 | ||
1055 | void print_loadgvp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1055 | void print_loadgvp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1056 | { | 1056 | { |
1057 | S32 arg; | 1057 | S32 arg; |
1058 | lso_print_tabs(fp, tabs); | 1058 | lso_print_tabs(fp, tabs); |
@@ -1061,7 +1061,7 @@ void print_loadgvp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
1061 | fprintf(fp, "%d\n", arg + get_register(buffer, LREG_GVR)); | 1061 | fprintf(fp, "%d\n", arg + get_register(buffer, LREG_GVR)); |
1062 | } | 1062 | } |
1063 | 1063 | ||
1064 | void print_loadgqp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1064 | void print_loadgqp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1065 | { | 1065 | { |
1066 | S32 arg; | 1066 | S32 arg; |
1067 | lso_print_tabs(fp, tabs); | 1067 | lso_print_tabs(fp, tabs); |
@@ -1070,7 +1070,7 @@ void print_loadgqp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
1070 | fprintf(fp, "%d\n", arg + get_register(buffer, LREG_GVR)); | 1070 | fprintf(fp, "%d\n", arg + get_register(buffer, LREG_GVR)); |
1071 | } | 1071 | } |
1072 | 1072 | ||
1073 | void print_push(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1073 | void print_push(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1074 | { | 1074 | { |
1075 | S32 arg; | 1075 | S32 arg; |
1076 | lso_print_tabs(fp, tabs); | 1076 | lso_print_tabs(fp, tabs); |
@@ -1079,7 +1079,7 @@ void print_push(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
1079 | fprintf(fp, "%d\n", arg); | 1079 | fprintf(fp, "%d\n", arg); |
1080 | } | 1080 | } |
1081 | 1081 | ||
1082 | void print_pushs(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1082 | void print_pushs(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1083 | { | 1083 | { |
1084 | S32 arg; | 1084 | S32 arg; |
1085 | lso_print_tabs(fp, tabs); | 1085 | lso_print_tabs(fp, tabs); |
@@ -1088,7 +1088,7 @@ void print_pushs(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
1088 | fprintf(fp, "%d\n", arg); | 1088 | fprintf(fp, "%d\n", arg); |
1089 | } | 1089 | } |
1090 | 1090 | ||
1091 | void print_pushl(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1091 | void print_pushl(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1092 | { | 1092 | { |
1093 | S32 arg; | 1093 | S32 arg; |
1094 | lso_print_tabs(fp, tabs); | 1094 | lso_print_tabs(fp, tabs); |
@@ -1097,7 +1097,7 @@ void print_pushl(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
1097 | fprintf(fp, "%d\n", arg); | 1097 | fprintf(fp, "%d\n", arg); |
1098 | } | 1098 | } |
1099 | 1099 | ||
1100 | void print_pushv(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1100 | void print_pushv(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1101 | { | 1101 | { |
1102 | S32 arg; | 1102 | S32 arg; |
1103 | lso_print_tabs(fp, tabs); | 1103 | lso_print_tabs(fp, tabs); |
@@ -1106,7 +1106,7 @@ void print_pushv(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
1106 | fprintf(fp, "%d\n", arg); | 1106 | fprintf(fp, "%d\n", arg); |
1107 | } | 1107 | } |
1108 | 1108 | ||
1109 | void print_pushq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1109 | void print_pushq(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1110 | { | 1110 | { |
1111 | S32 arg; | 1111 | S32 arg; |
1112 | lso_print_tabs(fp, tabs); | 1112 | lso_print_tabs(fp, tabs); |
@@ -1115,7 +1115,7 @@ void print_pushq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
1115 | fprintf(fp, "%d\n", arg); | 1115 | fprintf(fp, "%d\n", arg); |
1116 | } | 1116 | } |
1117 | 1117 | ||
1118 | void print_pushg(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1118 | void print_pushg(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1119 | { | 1119 | { |
1120 | S32 arg; | 1120 | S32 arg; |
1121 | lso_print_tabs(fp, tabs); | 1121 | lso_print_tabs(fp, tabs); |
@@ -1124,7 +1124,7 @@ void print_pushg(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
1124 | fprintf(fp, "0x%X\n", arg + get_register(buffer, LREG_GVR)); | 1124 | fprintf(fp, "0x%X\n", arg + get_register(buffer, LREG_GVR)); |
1125 | } | 1125 | } |
1126 | 1126 | ||
1127 | void print_pushgs(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1127 | void print_pushgs(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1128 | { | 1128 | { |
1129 | S32 arg; | 1129 | S32 arg; |
1130 | lso_print_tabs(fp, tabs); | 1130 | lso_print_tabs(fp, tabs); |
@@ -1133,7 +1133,7 @@ void print_pushgs(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
1133 | fprintf(fp, "0x%X\n", arg + get_register(buffer, LREG_GVR)); | 1133 | fprintf(fp, "0x%X\n", arg + get_register(buffer, LREG_GVR)); |
1134 | } | 1134 | } |
1135 | 1135 | ||
1136 | void print_pushgl(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1136 | void print_pushgl(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1137 | { | 1137 | { |
1138 | S32 arg; | 1138 | S32 arg; |
1139 | lso_print_tabs(fp, tabs); | 1139 | lso_print_tabs(fp, tabs); |
@@ -1142,7 +1142,7 @@ void print_pushgl(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
1142 | fprintf(fp, "0x%X\n", arg + get_register(buffer, LREG_GVR)); | 1142 | fprintf(fp, "0x%X\n", arg + get_register(buffer, LREG_GVR)); |
1143 | } | 1143 | } |
1144 | 1144 | ||
1145 | void print_pushgv(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1145 | void print_pushgv(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1146 | { | 1146 | { |
1147 | S32 arg; | 1147 | S32 arg; |
1148 | lso_print_tabs(fp, tabs); | 1148 | lso_print_tabs(fp, tabs); |
@@ -1151,7 +1151,7 @@ void print_pushgv(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
1151 | fprintf(fp, "0x%X\n", arg + get_register(buffer, LREG_GVR)); | 1151 | fprintf(fp, "0x%X\n", arg + get_register(buffer, LREG_GVR)); |
1152 | } | 1152 | } |
1153 | 1153 | ||
1154 | void print_pushgq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1154 | void print_pushgq(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1155 | { | 1155 | { |
1156 | S32 arg; | 1156 | S32 arg; |
1157 | lso_print_tabs(fp, tabs); | 1157 | lso_print_tabs(fp, tabs); |
@@ -1160,25 +1160,25 @@ void print_pushgq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
1160 | fprintf(fp, "0x%X\n", arg + get_register(buffer, LREG_GVR)); | 1160 | fprintf(fp, "0x%X\n", arg + get_register(buffer, LREG_GVR)); |
1161 | } | 1161 | } |
1162 | 1162 | ||
1163 | void print_puship(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1163 | void print_puship(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1164 | { | 1164 | { |
1165 | lso_print_tabs(fp, tabs); | 1165 | lso_print_tabs(fp, tabs); |
1166 | fprintf(fp, "[0x%X]\tPUSHIP\n", offset++); | 1166 | fprintf(fp, "[0x%X]\tPUSHIP\n", offset++); |
1167 | } | 1167 | } |
1168 | 1168 | ||
1169 | void print_pushbp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1169 | void print_pushbp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1170 | { | 1170 | { |
1171 | lso_print_tabs(fp, tabs); | 1171 | lso_print_tabs(fp, tabs); |
1172 | fprintf(fp, "[0x%X]\tPUSHBP\n", offset++); | 1172 | fprintf(fp, "[0x%X]\tPUSHBP\n", offset++); |
1173 | } | 1173 | } |
1174 | 1174 | ||
1175 | void print_pushsp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1175 | void print_pushsp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1176 | { | 1176 | { |
1177 | lso_print_tabs(fp, tabs); | 1177 | lso_print_tabs(fp, tabs); |
1178 | fprintf(fp, "[0x%X]\tPUSHSP\n", offset++); | 1178 | fprintf(fp, "[0x%X]\tPUSHSP\n", offset++); |
1179 | } | 1179 | } |
1180 | 1180 | ||
1181 | void print_pushargb(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1181 | void print_pushargb(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1182 | { | 1182 | { |
1183 | U8 arg; | 1183 | U8 arg; |
1184 | lso_print_tabs(fp, tabs); | 1184 | lso_print_tabs(fp, tabs); |
@@ -1187,7 +1187,7 @@ void print_pushargb(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
1187 | fprintf(fp, "%d\n", (U32)arg); | 1187 | fprintf(fp, "%d\n", (U32)arg); |
1188 | } | 1188 | } |
1189 | 1189 | ||
1190 | void print_pushargi(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1190 | void print_pushargi(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1191 | { | 1191 | { |
1192 | S32 arg; | 1192 | S32 arg; |
1193 | lso_print_tabs(fp, tabs); | 1193 | lso_print_tabs(fp, tabs); |
@@ -1196,7 +1196,7 @@ void print_pushargi(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
1196 | fprintf(fp, "%d\n", arg); | 1196 | fprintf(fp, "%d\n", arg); |
1197 | } | 1197 | } |
1198 | 1198 | ||
1199 | void print_pushargf(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1199 | void print_pushargf(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1200 | { | 1200 | { |
1201 | F32 arg; | 1201 | F32 arg; |
1202 | lso_print_tabs(fp, tabs); | 1202 | lso_print_tabs(fp, tabs); |
@@ -1205,7 +1205,7 @@ void print_pushargf(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
1205 | fprintf(fp, "%f\n", arg); | 1205 | fprintf(fp, "%f\n", arg); |
1206 | } | 1206 | } |
1207 | 1207 | ||
1208 | void print_pushargs(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1208 | void print_pushargs(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1209 | { | 1209 | { |
1210 | char arg[1024]; /*Flawfinder: ignore*/ | 1210 | char arg[1024]; /*Flawfinder: ignore*/ |
1211 | lso_print_tabs(fp, tabs); | 1211 | lso_print_tabs(fp, tabs); |
@@ -1214,7 +1214,7 @@ void print_pushargs(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
1214 | fprintf(fp, "%s\n", arg); | 1214 | fprintf(fp, "%s\n", arg); |
1215 | } | 1215 | } |
1216 | 1216 | ||
1217 | void print_pushargv(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1217 | void print_pushargv(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1218 | { | 1218 | { |
1219 | LLVector3 arg; | 1219 | LLVector3 arg; |
1220 | lso_print_tabs(fp, tabs); | 1220 | lso_print_tabs(fp, tabs); |
@@ -1223,7 +1223,7 @@ void print_pushargv(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
1223 | fprintf(fp, "< %f, %f, %f >\n", arg.mV[VX], arg.mV[VY], arg.mV[VZ]); | 1223 | fprintf(fp, "< %f, %f, %f >\n", arg.mV[VX], arg.mV[VY], arg.mV[VZ]); |
1224 | } | 1224 | } |
1225 | 1225 | ||
1226 | void print_pushargq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1226 | void print_pushargq(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1227 | { | 1227 | { |
1228 | LLQuaternion arg; | 1228 | LLQuaternion arg; |
1229 | lso_print_tabs(fp, tabs); | 1229 | lso_print_tabs(fp, tabs); |
@@ -1232,25 +1232,25 @@ void print_pushargq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
1232 | fprintf(fp, "< %f, %f, %f, %f >\n", arg.mQ[VX], arg.mQ[VY], arg.mQ[VZ], arg.mQ[VS]); | 1232 | fprintf(fp, "< %f, %f, %f, %f >\n", arg.mQ[VX], arg.mQ[VY], arg.mQ[VZ], arg.mQ[VS]); |
1233 | } | 1233 | } |
1234 | 1234 | ||
1235 | void print_pushe(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1235 | void print_pushe(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1236 | { | 1236 | { |
1237 | lso_print_tabs(fp, tabs); | 1237 | lso_print_tabs(fp, tabs); |
1238 | fprintf(fp, "[0x%X]\tPUSHE\n", offset++); | 1238 | fprintf(fp, "[0x%X]\tPUSHE\n", offset++); |
1239 | } | 1239 | } |
1240 | 1240 | ||
1241 | void print_pushev(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1241 | void print_pushev(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1242 | { | 1242 | { |
1243 | lso_print_tabs(fp, tabs); | 1243 | lso_print_tabs(fp, tabs); |
1244 | fprintf(fp, "[0x%X]\tPUSHEV\n", offset++); | 1244 | fprintf(fp, "[0x%X]\tPUSHEV\n", offset++); |
1245 | } | 1245 | } |
1246 | 1246 | ||
1247 | void print_pusheq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1247 | void print_pusheq(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1248 | { | 1248 | { |
1249 | lso_print_tabs(fp, tabs); | 1249 | lso_print_tabs(fp, tabs); |
1250 | fprintf(fp, "[0x%X]\tPUSHEQ\n", offset++); | 1250 | fprintf(fp, "[0x%X]\tPUSHEQ\n", offset++); |
1251 | } | 1251 | } |
1252 | 1252 | ||
1253 | void print_pusharge(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1253 | void print_pusharge(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1254 | { | 1254 | { |
1255 | S32 arg; | 1255 | S32 arg; |
1256 | lso_print_tabs(fp, tabs); | 1256 | lso_print_tabs(fp, tabs); |
@@ -1260,7 +1260,7 @@ void print_pusharge(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
1260 | } | 1260 | } |
1261 | 1261 | ||
1262 | 1262 | ||
1263 | void print_add(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1263 | void print_add(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1264 | { | 1264 | { |
1265 | U8 types; | 1265 | U8 types; |
1266 | U8 type1; | 1266 | U8 type1; |
@@ -1273,7 +1273,7 @@ void print_add(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
1273 | fprintf(fp, "%s, %s\n", LSCRIPTTypeNames[type1], LSCRIPTTypeNames[type2]); | 1273 | fprintf(fp, "%s, %s\n", LSCRIPTTypeNames[type1], LSCRIPTTypeNames[type2]); |
1274 | } | 1274 | } |
1275 | 1275 | ||
1276 | void print_sub(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1276 | void print_sub(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1277 | { | 1277 | { |
1278 | U8 types; | 1278 | U8 types; |
1279 | U8 type1; | 1279 | U8 type1; |
@@ -1286,7 +1286,7 @@ void print_sub(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
1286 | fprintf(fp, "%s, %s\n", LSCRIPTTypeNames[type1], LSCRIPTTypeNames[type2]); | 1286 | fprintf(fp, "%s, %s\n", LSCRIPTTypeNames[type1], LSCRIPTTypeNames[type2]); |
1287 | } | 1287 | } |
1288 | 1288 | ||
1289 | void print_mul(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1289 | void print_mul(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1290 | { | 1290 | { |
1291 | U8 types; | 1291 | U8 types; |
1292 | U8 type1; | 1292 | U8 type1; |
@@ -1299,7 +1299,7 @@ void print_mul(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
1299 | fprintf(fp, "%s, %s\n", LSCRIPTTypeNames[type1], LSCRIPTTypeNames[type2]); | 1299 | fprintf(fp, "%s, %s\n", LSCRIPTTypeNames[type1], LSCRIPTTypeNames[type2]); |
1300 | } | 1300 | } |
1301 | 1301 | ||
1302 | void print_div(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1302 | void print_div(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1303 | { | 1303 | { |
1304 | U8 types; | 1304 | U8 types; |
1305 | U8 type1; | 1305 | U8 type1; |
@@ -1312,7 +1312,7 @@ void print_div(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
1312 | fprintf(fp, "%s, %s\n", LSCRIPTTypeNames[type1], LSCRIPTTypeNames[type2]); | 1312 | fprintf(fp, "%s, %s\n", LSCRIPTTypeNames[type1], LSCRIPTTypeNames[type2]); |
1313 | } | 1313 | } |
1314 | 1314 | ||
1315 | void print_mod(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1315 | void print_mod(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1316 | { | 1316 | { |
1317 | U8 types; | 1317 | U8 types; |
1318 | U8 type1; | 1318 | U8 type1; |
@@ -1325,7 +1325,7 @@ void print_mod(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
1325 | fprintf(fp, "%s, %s\n", LSCRIPTTypeNames[type1], LSCRIPTTypeNames[type2]); | 1325 | fprintf(fp, "%s, %s\n", LSCRIPTTypeNames[type1], LSCRIPTTypeNames[type2]); |
1326 | } | 1326 | } |
1327 | 1327 | ||
1328 | void print_eq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1328 | void print_eq(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1329 | { | 1329 | { |
1330 | U8 types; | 1330 | U8 types; |
1331 | U8 type1; | 1331 | U8 type1; |
@@ -1338,7 +1338,7 @@ void print_eq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
1338 | fprintf(fp, "%s, %s\n", LSCRIPTTypeNames[type1], LSCRIPTTypeNames[type2]); | 1338 | fprintf(fp, "%s, %s\n", LSCRIPTTypeNames[type1], LSCRIPTTypeNames[type2]); |
1339 | } | 1339 | } |
1340 | 1340 | ||
1341 | void print_neq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1341 | void print_neq(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1342 | { | 1342 | { |
1343 | U8 types; | 1343 | U8 types; |
1344 | U8 type1; | 1344 | U8 type1; |
@@ -1351,7 +1351,7 @@ void print_neq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
1351 | fprintf(fp, "%s, %s\n", LSCRIPTTypeNames[type1], LSCRIPTTypeNames[type2]); | 1351 | fprintf(fp, "%s, %s\n", LSCRIPTTypeNames[type1], LSCRIPTTypeNames[type2]); |
1352 | } | 1352 | } |
1353 | 1353 | ||
1354 | void print_leq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1354 | void print_leq(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1355 | { | 1355 | { |
1356 | U8 types; | 1356 | U8 types; |
1357 | U8 type1; | 1357 | U8 type1; |
@@ -1364,7 +1364,7 @@ void print_leq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
1364 | fprintf(fp, "%s, %s\n", LSCRIPTTypeNames[type1], LSCRIPTTypeNames[type2]); | 1364 | fprintf(fp, "%s, %s\n", LSCRIPTTypeNames[type1], LSCRIPTTypeNames[type2]); |
1365 | } | 1365 | } |
1366 | 1366 | ||
1367 | void print_geq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1367 | void print_geq(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1368 | { | 1368 | { |
1369 | U8 types; | 1369 | U8 types; |
1370 | U8 type1; | 1370 | U8 type1; |
@@ -1377,7 +1377,7 @@ void print_geq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
1377 | fprintf(fp, "%s, %s\n", LSCRIPTTypeNames[type1], LSCRIPTTypeNames[type2]); | 1377 | fprintf(fp, "%s, %s\n", LSCRIPTTypeNames[type1], LSCRIPTTypeNames[type2]); |
1378 | } | 1378 | } |
1379 | 1379 | ||
1380 | void print_less(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1380 | void print_less(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1381 | { | 1381 | { |
1382 | U8 types; | 1382 | U8 types; |
1383 | U8 type1; | 1383 | U8 type1; |
@@ -1390,7 +1390,7 @@ void print_less(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
1390 | fprintf(fp, "%s, %s\n", LSCRIPTTypeNames[type1], LSCRIPTTypeNames[type2]); | 1390 | fprintf(fp, "%s, %s\n", LSCRIPTTypeNames[type1], LSCRIPTTypeNames[type2]); |
1391 | } | 1391 | } |
1392 | 1392 | ||
1393 | void print_greater(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1393 | void print_greater(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1394 | { | 1394 | { |
1395 | U8 types; | 1395 | U8 types; |
1396 | U8 type1; | 1396 | U8 type1; |
@@ -1404,50 +1404,50 @@ void print_greater(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
1404 | } | 1404 | } |
1405 | 1405 | ||
1406 | 1406 | ||
1407 | void print_bitand(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1407 | void print_bitand(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1408 | { | 1408 | { |
1409 | lso_print_tabs(fp, tabs); | 1409 | lso_print_tabs(fp, tabs); |
1410 | fprintf(fp, "[0x%X]\tBITAND\n", offset++); | 1410 | fprintf(fp, "[0x%X]\tBITAND\n", offset++); |
1411 | } | 1411 | } |
1412 | 1412 | ||
1413 | void print_bitor(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1413 | void print_bitor(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1414 | { | 1414 | { |
1415 | lso_print_tabs(fp, tabs); | 1415 | lso_print_tabs(fp, tabs); |
1416 | fprintf(fp, "[0x%X]\tBITOR\n", offset++); | 1416 | fprintf(fp, "[0x%X]\tBITOR\n", offset++); |
1417 | } | 1417 | } |
1418 | 1418 | ||
1419 | void print_bitxor(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1419 | void print_bitxor(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1420 | { | 1420 | { |
1421 | lso_print_tabs(fp, tabs); | 1421 | lso_print_tabs(fp, tabs); |
1422 | fprintf(fp, "[0x%X]\tBITXOR\n", offset++); | 1422 | fprintf(fp, "[0x%X]\tBITXOR\n", offset++); |
1423 | } | 1423 | } |
1424 | 1424 | ||
1425 | void print_booland(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1425 | void print_booland(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1426 | { | 1426 | { |
1427 | lso_print_tabs(fp, tabs); | 1427 | lso_print_tabs(fp, tabs); |
1428 | fprintf(fp, "[0x%X]\tBOOLAND\n", offset++); | 1428 | fprintf(fp, "[0x%X]\tBOOLAND\n", offset++); |
1429 | } | 1429 | } |
1430 | 1430 | ||
1431 | void print_boolor(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1431 | void print_boolor(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1432 | { | 1432 | { |
1433 | lso_print_tabs(fp, tabs); | 1433 | lso_print_tabs(fp, tabs); |
1434 | fprintf(fp, "[0x%X]\tBOOLOR\n", offset++); | 1434 | fprintf(fp, "[0x%X]\tBOOLOR\n", offset++); |
1435 | } | 1435 | } |
1436 | 1436 | ||
1437 | void print_shl(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1437 | void print_shl(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1438 | { | 1438 | { |
1439 | lso_print_tabs(fp, tabs); | 1439 | lso_print_tabs(fp, tabs); |
1440 | fprintf(fp, "[0x%X]\tSHL\n", offset++); | 1440 | fprintf(fp, "[0x%X]\tSHL\n", offset++); |
1441 | } | 1441 | } |
1442 | 1442 | ||
1443 | void print_shr(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1443 | void print_shr(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1444 | { | 1444 | { |
1445 | lso_print_tabs(fp, tabs); | 1445 | lso_print_tabs(fp, tabs); |
1446 | fprintf(fp, "[0x%X]\tSHR\n", offset++); | 1446 | fprintf(fp, "[0x%X]\tSHR\n", offset++); |
1447 | } | 1447 | } |
1448 | 1448 | ||
1449 | 1449 | ||
1450 | void print_neg(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1450 | void print_neg(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1451 | { | 1451 | { |
1452 | U8 type; | 1452 | U8 type; |
1453 | lso_print_tabs(fp, tabs); | 1453 | lso_print_tabs(fp, tabs); |
@@ -1456,19 +1456,19 @@ void print_neg(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
1456 | fprintf(fp, "%s\n", LSCRIPTTypeNames[type]); | 1456 | fprintf(fp, "%s\n", LSCRIPTTypeNames[type]); |
1457 | } | 1457 | } |
1458 | 1458 | ||
1459 | void print_bitnot(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1459 | void print_bitnot(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1460 | { | 1460 | { |
1461 | lso_print_tabs(fp, tabs); | 1461 | lso_print_tabs(fp, tabs); |
1462 | fprintf(fp, "[0x%X]\tBITNOT\n", offset++); | 1462 | fprintf(fp, "[0x%X]\tBITNOT\n", offset++); |
1463 | } | 1463 | } |
1464 | 1464 | ||
1465 | void print_boolnot(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1465 | void print_boolnot(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1466 | { | 1466 | { |
1467 | lso_print_tabs(fp, tabs); | 1467 | lso_print_tabs(fp, tabs); |
1468 | fprintf(fp, "[0x%X]\tBOOLNOT\n", offset++); | 1468 | fprintf(fp, "[0x%X]\tBOOLNOT\n", offset++); |
1469 | } | 1469 | } |
1470 | 1470 | ||
1471 | void print_jump(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1471 | void print_jump(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1472 | { | 1472 | { |
1473 | S32 arg; | 1473 | S32 arg; |
1474 | lso_print_tabs(fp, tabs); | 1474 | lso_print_tabs(fp, tabs); |
@@ -1477,7 +1477,7 @@ void print_jump(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
1477 | fprintf(fp, "%d\n", arg); | 1477 | fprintf(fp, "%d\n", arg); |
1478 | } | 1478 | } |
1479 | 1479 | ||
1480 | void print_jumpif(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1480 | void print_jumpif(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1481 | { | 1481 | { |
1482 | S32 arg; | 1482 | S32 arg; |
1483 | U8 type; | 1483 | U8 type; |
@@ -1488,7 +1488,7 @@ void print_jumpif(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
1488 | fprintf(fp, "%s, %d\n", LSCRIPTTypeNames[type], arg); | 1488 | fprintf(fp, "%s, %d\n", LSCRIPTTypeNames[type], arg); |
1489 | } | 1489 | } |
1490 | 1490 | ||
1491 | void print_jumpnif(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1491 | void print_jumpnif(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1492 | { | 1492 | { |
1493 | S32 arg; | 1493 | S32 arg; |
1494 | U8 type; | 1494 | U8 type; |
@@ -1499,7 +1499,7 @@ void print_jumpnif(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
1499 | fprintf(fp, "%s, %d\n", LSCRIPTTypeNames[type], arg); | 1499 | fprintf(fp, "%s, %d\n", LSCRIPTTypeNames[type], arg); |
1500 | } | 1500 | } |
1501 | 1501 | ||
1502 | void print_state(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1502 | void print_state(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1503 | { | 1503 | { |
1504 | S32 arg; | 1504 | S32 arg; |
1505 | lso_print_tabs(fp, tabs); | 1505 | lso_print_tabs(fp, tabs); |
@@ -1508,7 +1508,7 @@ void print_state(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
1508 | fprintf(fp, "%d\n", arg); | 1508 | fprintf(fp, "%d\n", arg); |
1509 | } | 1509 | } |
1510 | 1510 | ||
1511 | void print_call(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1511 | void print_call(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1512 | { | 1512 | { |
1513 | S32 arg; | 1513 | S32 arg; |
1514 | lso_print_tabs(fp, tabs); | 1514 | lso_print_tabs(fp, tabs); |
@@ -1517,13 +1517,13 @@ void print_call(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
1517 | fprintf(fp, "%d\n", arg); | 1517 | fprintf(fp, "%d\n", arg); |
1518 | } | 1518 | } |
1519 | 1519 | ||
1520 | void print_return(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1520 | void print_return(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1521 | { | 1521 | { |
1522 | lso_print_tabs(fp, tabs); | 1522 | lso_print_tabs(fp, tabs); |
1523 | fprintf(fp, "[0x%X]\tRETURN\n", offset++); | 1523 | fprintf(fp, "[0x%X]\tRETURN\n", offset++); |
1524 | } | 1524 | } |
1525 | 1525 | ||
1526 | void print_cast(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1526 | void print_cast(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1527 | { | 1527 | { |
1528 | U8 types; | 1528 | U8 types; |
1529 | U8 type1; | 1529 | U8 type1; |
@@ -1536,7 +1536,7 @@ void print_cast(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
1536 | fprintf(fp, "%s, %s\n", LSCRIPTTypeNames[type1], LSCRIPTTypeNames[type2]); | 1536 | fprintf(fp, "%s, %s\n", LSCRIPTTypeNames[type1], LSCRIPTTypeNames[type2]); |
1537 | } | 1537 | } |
1538 | 1538 | ||
1539 | void print_stacktos(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1539 | void print_stacktos(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1540 | { | 1540 | { |
1541 | S32 arg; | 1541 | S32 arg; |
1542 | lso_print_tabs(fp, tabs); | 1542 | lso_print_tabs(fp, tabs); |
@@ -1545,7 +1545,7 @@ void print_stacktos(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
1545 | fprintf(fp, "%d\n", arg); | 1545 | fprintf(fp, "%d\n", arg); |
1546 | } | 1546 | } |
1547 | 1547 | ||
1548 | void print_stacktol(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1548 | void print_stacktol(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1549 | { | 1549 | { |
1550 | S32 arg; | 1550 | S32 arg; |
1551 | lso_print_tabs(fp, tabs); | 1551 | lso_print_tabs(fp, tabs); |
@@ -1554,7 +1554,7 @@ void print_stacktol(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
1554 | fprintf(fp, "%d\n", arg); | 1554 | fprintf(fp, "%d\n", arg); |
1555 | } | 1555 | } |
1556 | 1556 | ||
1557 | void print_print(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1557 | void print_print(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1558 | { | 1558 | { |
1559 | lso_print_tabs(fp, tabs); | 1559 | lso_print_tabs(fp, tabs); |
1560 | fprintf(fp, "[0x%X]\tPRINT ", offset++); | 1560 | fprintf(fp, "[0x%X]\tPRINT ", offset++); |
@@ -1562,7 +1562,7 @@ void print_print(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
1562 | fprintf(fp, "%s\n", LSCRIPTTypeNames[type]); | 1562 | fprintf(fp, "%s\n", LSCRIPTTypeNames[type]); |
1563 | } | 1563 | } |
1564 | 1564 | ||
1565 | void print_calllib(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1565 | void print_calllib(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1566 | { | 1566 | { |
1567 | U8 arg; | 1567 | U8 arg; |
1568 | lso_print_tabs(fp, tabs); | 1568 | lso_print_tabs(fp, tabs); |
@@ -1572,7 +1572,7 @@ void print_calllib(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | |||
1572 | } | 1572 | } |
1573 | 1573 | ||
1574 | 1574 | ||
1575 | void print_calllib_two_byte(FILE *fp, U8 *buffer, S32 &offset, S32 tabs) | 1575 | void print_calllib_two_byte(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs) |
1576 | { | 1576 | { |
1577 | U16 arg; | 1577 | U16 arg; |
1578 | lso_print_tabs(fp, tabs); | 1578 | lso_print_tabs(fp, tabs); |
diff --git a/linden/indra/lscript/lscript_execute/lscript_readlso.h b/linden/indra/lscript/lscript_execute/lscript_readlso.h index 17d9460..ab339e0 100644 --- a/linden/indra/lscript/lscript_execute/lscript_readlso.h +++ b/linden/indra/lscript/lscript_execute/lscript_readlso.h | |||
@@ -36,135 +36,135 @@ | |||
36 | #include "linked_lists.h" | 36 | #include "linked_lists.h" |
37 | 37 | ||
38 | // list of op code print functions | 38 | // list of op code print functions |
39 | void print_noop(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 39 | void print_noop(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
40 | void print_pop(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 40 | void print_pop(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
41 | void print_pops(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 41 | void print_pops(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
42 | void print_popl(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 42 | void print_popl(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
43 | void print_popv(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 43 | void print_popv(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
44 | void print_popq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 44 | void print_popq(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
45 | void print_poparg(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 45 | void print_poparg(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
46 | void print_popip(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 46 | void print_popip(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
47 | void print_popbp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 47 | void print_popbp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
48 | void print_popsp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 48 | void print_popsp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
49 | void print_popslr(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 49 | void print_popslr(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
50 | 50 | ||
51 | void print_dup(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 51 | void print_dup(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
52 | void print_dups(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 52 | void print_dups(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
53 | void print_dupl(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 53 | void print_dupl(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
54 | void print_dupv(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 54 | void print_dupv(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
55 | void print_dupq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 55 | void print_dupq(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
56 | 56 | ||
57 | void print_store(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 57 | void print_store(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
58 | void print_stores(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 58 | void print_stores(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
59 | void print_storel(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 59 | void print_storel(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
60 | void print_storev(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 60 | void print_storev(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
61 | void print_storeq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 61 | void print_storeq(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
62 | void print_storeg(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 62 | void print_storeg(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
63 | void print_storegs(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 63 | void print_storegs(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
64 | void print_storegl(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 64 | void print_storegl(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
65 | void print_storegv(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 65 | void print_storegv(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
66 | void print_storegq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 66 | void print_storegq(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
67 | void print_loadp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 67 | void print_loadp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
68 | void print_loadsp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 68 | void print_loadsp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
69 | void print_loadlp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 69 | void print_loadlp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
70 | void print_loadvp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 70 | void print_loadvp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
71 | void print_loadqp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 71 | void print_loadqp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
72 | void print_loadgp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 72 | void print_loadgp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
73 | void print_loadgsp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 73 | void print_loadgsp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
74 | void print_loadglp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 74 | void print_loadglp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
75 | void print_loadgvp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 75 | void print_loadgvp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
76 | void print_loadgqp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 76 | void print_loadgqp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
77 | 77 | ||
78 | void print_push(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 78 | void print_push(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
79 | void print_pushl(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 79 | void print_pushl(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
80 | void print_pushs(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 80 | void print_pushs(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
81 | void print_pushv(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 81 | void print_pushv(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
82 | void print_pushq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 82 | void print_pushq(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
83 | void print_pushg(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 83 | void print_pushg(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
84 | void print_pushgl(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 84 | void print_pushgl(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
85 | void print_pushgs(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 85 | void print_pushgs(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
86 | void print_pushgv(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 86 | void print_pushgv(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
87 | void print_pushgq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 87 | void print_pushgq(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
88 | void print_puship(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 88 | void print_puship(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
89 | void print_pushbp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 89 | void print_pushbp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
90 | void print_pushsp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 90 | void print_pushsp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
91 | void print_pushargb(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 91 | void print_pushargb(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
92 | void print_pushargi(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 92 | void print_pushargi(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
93 | void print_pushargf(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 93 | void print_pushargf(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
94 | void print_pushargs(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 94 | void print_pushargs(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
95 | void print_pushargv(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 95 | void print_pushargv(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
96 | void print_pushargq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 96 | void print_pushargq(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
97 | void print_pushe(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 97 | void print_pushe(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
98 | void print_pushev(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 98 | void print_pushev(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
99 | void print_pusheq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 99 | void print_pusheq(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
100 | void print_pusharge(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 100 | void print_pusharge(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
101 | 101 | ||
102 | void print_add(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 102 | void print_add(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
103 | void print_sub(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 103 | void print_sub(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
104 | void print_mul(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 104 | void print_mul(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
105 | void print_div(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 105 | void print_div(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
106 | void print_mod(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 106 | void print_mod(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
107 | 107 | ||
108 | void print_eq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 108 | void print_eq(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
109 | void print_neq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 109 | void print_neq(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
110 | void print_leq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 110 | void print_leq(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
111 | void print_geq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 111 | void print_geq(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
112 | void print_less(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 112 | void print_less(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
113 | void print_greater(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 113 | void print_greater(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
114 | 114 | ||
115 | void print_bitand(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 115 | void print_bitand(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
116 | void print_bitor(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 116 | void print_bitor(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
117 | void print_bitxor(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 117 | void print_bitxor(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
118 | void print_booland(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 118 | void print_booland(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
119 | void print_boolor(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 119 | void print_boolor(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
120 | 120 | ||
121 | void print_shl(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 121 | void print_shl(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
122 | void print_shr(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 122 | void print_shr(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
123 | 123 | ||
124 | void print_neg(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 124 | void print_neg(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
125 | void print_bitnot(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 125 | void print_bitnot(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
126 | void print_boolnot(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 126 | void print_boolnot(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
127 | 127 | ||
128 | void print_jump(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 128 | void print_jump(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
129 | void print_jumpif(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 129 | void print_jumpif(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
130 | void print_jumpnif(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 130 | void print_jumpnif(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
131 | 131 | ||
132 | void print_state(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 132 | void print_state(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
133 | void print_call(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 133 | void print_call(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
134 | void print_return(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 134 | void print_return(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
135 | void print_cast(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 135 | void print_cast(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
136 | void print_stacktos(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 136 | void print_stacktos(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
137 | void print_stacktol(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 137 | void print_stacktol(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
138 | 138 | ||
139 | void print_print(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 139 | void print_print(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
140 | 140 | ||
141 | void print_calllib(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 141 | void print_calllib(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
142 | void print_calllib_two_byte(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 142 | void print_calllib_two_byte(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
143 | 143 | ||
144 | class LLScriptLSOParse | 144 | class LLScriptLSOParse |
145 | { | 145 | { |
146 | public: | 146 | public: |
147 | LLScriptLSOParse(FILE *fp); | 147 | LLScriptLSOParse(LLFILE *fp); |
148 | LLScriptLSOParse(U8 *buffer); | 148 | LLScriptLSOParse(U8 *buffer); |
149 | ~LLScriptLSOParse(); | 149 | ~LLScriptLSOParse(); |
150 | 150 | ||
151 | void initOpCodePrinting(); | 151 | void initOpCodePrinting(); |
152 | 152 | ||
153 | void printData(FILE *fp); | 153 | void printData(LLFILE *fp); |
154 | void printNameDesc(FILE *fp); | 154 | void printNameDesc(LLFILE *fp); |
155 | void printRegisters(FILE *fp); | 155 | void printRegisters(LLFILE *fp); |
156 | void printGlobals(FILE *fp); | 156 | void printGlobals(LLFILE *fp); |
157 | void printGlobalFunctions(FILE *fp); | 157 | void printGlobalFunctions(LLFILE *fp); |
158 | void printStates(FILE *fp); | 158 | void printStates(LLFILE *fp); |
159 | void printHeap(FILE *fp); | 159 | void printHeap(LLFILE *fp); |
160 | void printOpCodes(FILE *fp, S32 &offset, S32 tabs); | 160 | void printOpCodes(LLFILE *fp, S32 &offset, S32 tabs); |
161 | void printOpCodeRange(FILE *fp, S32 start, S32 end, S32 tabs); | 161 | void printOpCodeRange(LLFILE *fp, S32 start, S32 end, S32 tabs); |
162 | 162 | ||
163 | U8 *mRawData; | 163 | U8 *mRawData; |
164 | void (*mPrintOpCodes[0x100])(FILE *fp, U8 *buffer, S32 &offset, S32 tabs); | 164 | void (*mPrintOpCodes[0x100])(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs); |
165 | }; | 165 | }; |
166 | 166 | ||
167 | 167 | ||
168 | void lso_print_tabs(FILE *fp, S32 tabs); | 168 | void lso_print_tabs(LLFILE *fp, S32 tabs); |
169 | 169 | ||
170 | #endif | 170 | #endif |
diff --git a/linden/indra/lscript/lscript_library/lscript_alloc.cpp b/linden/indra/lscript/lscript_library/lscript_alloc.cpp index 2c37d22..9ad6c6b 100644 --- a/linden/indra/lscript/lscript_library/lscript_alloc.cpp +++ b/linden/indra/lscript/lscript_library/lscript_alloc.cpp | |||
@@ -851,7 +851,7 @@ void lsa_print_heap(U8 *buffer) | |||
851 | printf("==========\n"); | 851 | printf("==========\n"); |
852 | } | 852 | } |
853 | 853 | ||
854 | void lsa_fprint_heap(U8 *buffer, FILE *fp) | 854 | void lsa_fprint_heap(U8 *buffer, LLFILE *fp) |
855 | { | 855 | { |
856 | S32 offset = get_register(buffer, LREG_HR); | 856 | S32 offset = get_register(buffer, LREG_HR); |
857 | S32 readoffset; | 857 | S32 readoffset; |