aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine
diff options
context:
space:
mode:
authorJohan Berntsson2008-07-08 03:02:11 +0000
committerJohan Berntsson2008-07-08 03:02:11 +0000
commita73e3b4e3fdb6b563dddaa7f67d5fe69e65ca752 (patch)
tree920460cb6108ee9ecb2504f39a0cbf2e86ea2477 /OpenSim/Region/ScriptEngine/DotNetEngine
parentllscript compiler patch from Mike: adds LSL jumps and implicit variable initi... (diff)
downloadopensim-SC-a73e3b4e3fdb6b563dddaa7f67d5fe69e65ca752.zip
opensim-SC-a73e3b4e3fdb6b563dddaa7f67d5fe69e65ca752.tar.gz
opensim-SC-a73e3b4e3fdb6b563dddaa7f67d5fe69e65ca752.tar.bz2
opensim-SC-a73e3b4e3fdb6b563dddaa7f67d5fe69e65ca752.tar.xz
another patch from Mike: the llscript compiler is now available in XEngine as well. Thanks Mike
Diffstat (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/lsl.lexer.cs2
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/lsl.parser.cs2
2 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/lsl.lexer.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/lsl.lexer.cs
index 5d66d5c..f78c801 100644
--- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/lsl.lexer.cs
+++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/lsl.lexer.cs
@@ -26,6 +26,7 @@
26 */ 26 */
27 27
28using System;using Tools; 28using System;using Tools;
29namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL {
29//%+STRING_CONSTANT+3 30//%+STRING_CONSTANT+3
30public class STRING_CONSTANT : TOKEN{ 31public class STRING_CONSTANT : TOKEN{
31public override string yyname { get { return "STRING_CONSTANT"; }} 32public override string yyname { get { return "STRING_CONSTANT"; }}
@@ -18710,3 +18711,4 @@ public LSLTokens(YyLexer tks):base(tks){}
18710 public string str; 18711 public string str;
18711 18712
18712 } 18713 }
18714}
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/lsl.parser.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/lsl.parser.cs
index 61118b2..3c63610 100644
--- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/lsl.parser.cs
+++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/lsl.parser.cs
@@ -26,6 +26,7 @@
26 */ 26 */
27 27
28using System;using Tools; 28using System;using Tools;
29namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL {
29//%+LSLProgramRoot+95 30//%+LSLProgramRoot+95
30public class LSLProgramRoot : SYMBOL{ 31public class LSLProgramRoot : SYMBOL{
31 public LSLProgramRoot (Parser yyp, States s ):base(((LSLSyntax 32 public LSLProgramRoot (Parser yyp, States s ):base(((LSLSyntax
@@ -9799,3 +9800,4 @@ public LSLSyntax
9799(YyParser syms,ErrorHandler erh):base(syms,new LSLTokens(erh)) {} 9800(YyParser syms,ErrorHandler erh):base(syms,new LSLTokens(erh)) {}
9800 9801
9801 } 9802 }
9803}