aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/lscript/lscript_compile/lscript_tree.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-09-06 18:24:57 -0500
committerJacek Antonelli2008-09-06 18:25:07 -0500
commit798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch)
tree1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/lscript/lscript_compile/lscript_tree.h
parentSecond Life viewer sources 1.20.15 (diff)
downloadmeta-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.h16
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
2207class LLScritpGlobalStorage : public LLScriptFilePosition 2207class 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
2271private: 2274private:
2272 char mBytecodeDest[MAX_STRING]; /*Flawfinder: ignore*/ 2275 std::string mBytecodeDest;
2276 char mClassName[MAX_STRING];
2273}; 2277};
2274 2278
2275class LLScriptAllocationManager 2279class LLScriptAllocationManager