diff options
author | Johan Berntsson | 2008-07-08 03:02:11 +0000 |
---|---|---|
committer | Johan Berntsson | 2008-07-08 03:02:11 +0000 |
commit | a73e3b4e3fdb6b563dddaa7f67d5fe69e65ca752 (patch) | |
tree | 920460cb6108ee9ecb2504f39a0cbf2e86ea2477 /OpenSim/Region/ScriptEngine/DotNetEngine | |
parent | llscript compiler patch from Mike: adds LSL jumps and implicit variable initi... (diff) | |
download | opensim-SC_OLD-a73e3b4e3fdb6b563dddaa7f67d5fe69e65ca752.zip opensim-SC_OLD-a73e3b4e3fdb6b563dddaa7f67d5fe69e65ca752.tar.gz opensim-SC_OLD-a73e3b4e3fdb6b563dddaa7f67d5fe69e65ca752.tar.bz2 opensim-SC_OLD-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.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/lsl.parser.cs | 2 |
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 | ||
28 | using System;using Tools; | 28 | using System;using Tools; |
29 | namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL { | ||
29 | //%+STRING_CONSTANT+3 | 30 | //%+STRING_CONSTANT+3 |
30 | public class STRING_CONSTANT : TOKEN{ | 31 | public class STRING_CONSTANT : TOKEN{ |
31 | public override string yyname { get { return "STRING_CONSTANT"; }} | 32 | public 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 | ||
28 | using System;using Tools; | 28 | using System;using Tools; |
29 | namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL { | ||
29 | //%+LSLProgramRoot+95 | 30 | //%+LSLProgramRoot+95 |
30 | public class LSLProgramRoot : SYMBOL{ | 31 | public 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 | } | ||