diff options
author | Jeff Ames | 2008-05-16 01:22:11 +0000 |
---|---|---|
committer | Jeff Ames | 2008-05-16 01:22:11 +0000 |
commit | 65c5efe43b68700bad94076d4cd421160203c5de (patch) | |
tree | 589b56649ed02f4942671fd6e51c6dc43f682e0d /OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/LSO | |
parent | Thank you very much, mjm for : (diff) | |
download | opensim-SC-65c5efe43b68700bad94076d4cd421160203c5de.zip opensim-SC-65c5efe43b68700bad94076d4cd421160203c5de.tar.gz opensim-SC-65c5efe43b68700bad94076d4cd421160203c5de.tar.bz2 opensim-SC-65c5efe43b68700bad94076d4cd421160203c5de.tar.xz |
Formatting cleanup.
Diffstat (limited to 'OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/LSO')
3 files changed, 10 insertions, 10 deletions
diff --git a/OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/LSO/Engine.cs b/OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/LSO/Engine.cs index 4ec8618..f7c8fb1 100644 --- a/OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/LSO/Engine.cs +++ b/OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/LSO/Engine.cs | |||
@@ -167,7 +167,7 @@ namespace OpenSim.Grid.ScriptEngine.DotNetEngine.Compiler.LSO | |||
167 | Common.SendToDebug("IL_CREATE_CONSTRUCTOR()"); | 167 | Common.SendToDebug("IL_CREATE_CONSTRUCTOR()"); |
168 | //ConstructorBuilder constructor = typeBuilder.DefineConstructor( | 168 | //ConstructorBuilder constructor = typeBuilder.DefineConstructor( |
169 | // MethodAttributes.Public, | 169 | // MethodAttributes.Public, |
170 | // CallingConventions.Standard, | 170 | // CallingConventions.Standard, |
171 | // new Type[0]); | 171 | // new Type[0]); |
172 | ConstructorBuilder constructor = typeBuilder.DefineConstructor( | 172 | ConstructorBuilder constructor = typeBuilder.DefineConstructor( |
173 | MethodAttributes.Public | | 173 | MethodAttributes.Public | |
@@ -191,8 +191,8 @@ namespace OpenSim.Grid.ScriptEngine.DotNetEngine.Compiler.LSO | |||
191 | //// Create state object | 191 | //// Create state object |
192 | //FieldName = "State"; | 192 | //FieldName = "State"; |
193 | //FieldBuilder State_fb = typeBuilder.DefineField( | 193 | //FieldBuilder State_fb = typeBuilder.DefineField( |
194 | // FieldName, | 194 | // FieldName, |
195 | // typeof(UInt32), | 195 | // typeof(UInt32), |
196 | // FieldAttributes.Public); | 196 | // FieldAttributes.Public); |
197 | //il.Emit(OpCodes.Ldarg_0); | 197 | //il.Emit(OpCodes.Ldarg_0); |
198 | //il.Emit(OpCodes.Ldc_I4, 0); | 198 | //il.Emit(OpCodes.Ldc_I4, 0); |
@@ -205,8 +205,8 @@ namespace OpenSim.Grid.ScriptEngine.DotNetEngine.Compiler.LSO | |||
205 | 205 | ||
206 | //FieldName = "LSL_BuiltIns"; | 206 | //FieldName = "LSL_BuiltIns"; |
207 | //FieldBuilder LSL_BuiltIns_fb = typeBuilder.DefineField( | 207 | //FieldBuilder LSL_BuiltIns_fb = typeBuilder.DefineField( |
208 | // FieldName, | 208 | // FieldName, |
209 | // objType1, | 209 | // objType1, |
210 | // FieldAttributes.Public); | 210 | // FieldAttributes.Public); |
211 | 211 | ||
212 | ////LSL_BuiltIn_Commands_TestImplementation _ti = new LSL_BuiltIn_Commands_TestImplementation(); | 212 | ////LSL_BuiltIn_Commands_TestImplementation _ti = new LSL_BuiltIn_Commands_TestImplementation(); |
diff --git a/OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/LSO/LSL_BaseClass_OPCODES.cs b/OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/LSO/LSL_BaseClass_OPCODES.cs index 05f7611..11b567e 100644 --- a/OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/LSO/LSL_BaseClass_OPCODES.cs +++ b/OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/LSO/LSL_BaseClass_OPCODES.cs | |||
@@ -36,9 +36,9 @@ namespace OpenSim.Grid.ScriptEngine.DotNetEngine.Compiler.LSO | |||
36 | * | 36 | * |
37 | * These are internal "assembly" commands, | 37 | * These are internal "assembly" commands, |
38 | * basic operators like "ADD", "PUSH" and "POP" | 38 | * basic operators like "ADD", "PUSH" and "POP" |
39 | * | 39 | * |
40 | * It also contains managed stack and keeps track of internal variables, etc. | 40 | * It also contains managed stack and keeps track of internal variables, etc. |
41 | * | 41 | * |
42 | */ | 42 | */ |
43 | 43 | ||
44 | 44 | ||
diff --git a/OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/LSO/LSO_Parser.cs b/OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/LSO/LSO_Parser.cs index 9189bf6..25d1211 100644 --- a/OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/LSO/LSO_Parser.cs +++ b/OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/LSO/LSO_Parser.cs | |||
@@ -75,7 +75,7 @@ namespace OpenSim.Grid.ScriptEngine.DotNetEngine.Compiler.LSO | |||
75 | /// </summary> | 75 | /// </summary> |
76 | public void Parse() | 76 | public void Parse() |
77 | { | 77 | { |
78 | // The LSO Format consist of 6 major blocks: header, statics, functions, states, heap, and stack. | 78 | // The LSO Format consist of 6 major blocks: header, statics, functions, states, heap, and stack. |
79 | 79 | ||
80 | 80 | ||
81 | // HEADER BLOCK | 81 | // HEADER BLOCK |
@@ -295,7 +295,7 @@ namespace OpenSim.Grid.ScriptEngine.DotNetEngine.Compiler.LSO | |||
295 | myEventCodeChunk = new LSO_Struct.CodeChunk[myStateFrameBlock.StateCount]; | 295 | myEventCodeChunk = new LSO_Struct.CodeChunk[myStateFrameBlock.StateCount]; |
296 | for (int i = 0; i < myStateFrameBlock.StateCount; i++) | 296 | for (int i = 0; i < myStateFrameBlock.StateCount; i++) |
297 | { | 297 | { |
298 | // TODO: Somehow organize events and functions so they can be found again, | 298 | // TODO: Somehow organize events and functions so they can be found again, |
299 | // two level search ain't no good | 299 | // two level search ain't no good |
300 | for (int ii = 0; ii < myStateFrameBlock.StatePointer[i].EventMask.Count - 1; ii++) | 300 | for (int ii = 0; ii < myStateFrameBlock.StatePointer[i].EventMask.Count - 1; ii++) |
301 | { | 301 | { |
@@ -373,7 +373,7 @@ namespace OpenSim.Grid.ScriptEngine.DotNetEngine.Compiler.LSO | |||
373 | 373 | ||
374 | //private byte[] br_read_smallendian(int len) | 374 | //private byte[] br_read_smallendian(int len) |
375 | //{ | 375 | //{ |
376 | // byte[] bytes = new byte[len]; | 376 | // byte[] bytes = new byte[len]; |
377 | // br.Read(bytes,0, len); | 377 | // br.Read(bytes,0, len); |
378 | // return bytes; | 378 | // return bytes; |
379 | //} | 379 | //} |