diff options
author | Jacek Antonelli | 2008-09-06 18:24:57 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-09-06 18:25:07 -0500 |
commit | 798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch) | |
tree | 1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/lscript/lscript_compile/lscript_tree.h | |
parent | Second Life viewer sources 1.20.15 (diff) | |
download | meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2 meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz |
Second Life viewer sources 1.21.0-RC
Diffstat (limited to 'linden/indra/lscript/lscript_compile/lscript_tree.h')
-rw-r--r-- | linden/indra/lscript/lscript_compile/lscript_tree.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/linden/indra/lscript/lscript_compile/lscript_tree.h b/linden/indra/lscript/lscript_compile/lscript_tree.h index 1c2ba1f..7c0d883 100644 --- a/linden/indra/lscript/lscript_compile/lscript_tree.h +++ b/linden/indra/lscript/lscript_compile/lscript_tree.h | |||
@@ -2197,11 +2197,11 @@ public: | |||
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); | 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; |
2201 | LLScriptIdentifier *mIdentifier; | 2201 | LLScriptIdentifier *mIdentifier; |
2202 | LLScriptEventHandler *mEvent; | 2202 | LLScriptEventHandler *mEvent; |
2203 | LLScriptState *mNextp; | 2203 | LLScriptState *mNextp; |
2204 | 2204 | LLScriptScope *mStateScope; | |
2205 | }; | 2205 | }; |
2206 | 2206 | ||
2207 | class LLScritpGlobalStorage : public LLScriptFilePosition | 2207 | class LLScritpGlobalStorage : public LLScriptFilePosition |
@@ -2262,6 +2262,9 @@ public: | |||
2262 | 2262 | ||
2263 | void setBytecodeDest(const char* dst_filename); | 2263 | void setBytecodeDest(const char* dst_filename); |
2264 | 2264 | ||
2265 | void setClassName(const char* class_name); | ||
2266 | const char* getClassName() {return mClassName;} | ||
2267 | |||
2265 | LLScriptState *mStates; | 2268 | LLScriptState *mStates; |
2266 | LLScriptScope *mGlobalScope; | 2269 | LLScriptScope *mGlobalScope; |
2267 | LLScriptGlobalVariable *mGlobals; | 2270 | LLScriptGlobalVariable *mGlobals; |
@@ -2269,7 +2272,8 @@ public: | |||
2269 | BOOL mGodLike; | 2272 | BOOL mGodLike; |
2270 | 2273 | ||
2271 | private: | 2274 | private: |
2272 | char mBytecodeDest[MAX_STRING]; /*Flawfinder: ignore*/ | 2275 | std::string mBytecodeDest; |
2276 | char mClassName[MAX_STRING]; | ||
2273 | }; | 2277 | }; |
2274 | 2278 | ||
2275 | class LLScriptAllocationManager | 2279 | class LLScriptAllocationManager |