diff options
author | Melanie Thielker | 2008-09-27 05:31:43 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-09-27 05:31:43 +0000 |
commit | 85068dae60db02b168a29ffd75e1408e30d279e1 (patch) | |
tree | 8389c246a6e9891eb1bf310b85cba19a1668d790 /OpenSim/Region/ScriptEngine/Interfaces | |
parent | Mantis #2277 (diff) | |
download | opensim-SC-85068dae60db02b168a29ffd75e1408e30d279e1.zip opensim-SC-85068dae60db02b168a29ffd75e1408e30d279e1.tar.gz opensim-SC-85068dae60db02b168a29ffd75e1408e30d279e1.tar.bz2 opensim-SC-85068dae60db02b168a29ffd75e1408e30d279e1.tar.xz |
Add friendly error messages to both engines.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Interfaces')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Interfaces/ICompiler.cs | 5 | ||||
-rw-r--r-- | OpenSim/Region/ScriptEngine/Interfaces/IScriptInstance.cs | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Interfaces/ICompiler.cs b/OpenSim/Region/ScriptEngine/Interfaces/ICompiler.cs index efb05d3..6273da9 100644 --- a/OpenSim/Region/ScriptEngine/Interfaces/ICompiler.cs +++ b/OpenSim/Region/ScriptEngine/Interfaces/ICompiler.cs | |||
@@ -33,7 +33,8 @@ namespace OpenSim.Region.ScriptEngine.Interfaces | |||
33 | { | 33 | { |
34 | public interface ICompiler | 34 | public interface ICompiler |
35 | { | 35 | { |
36 | void Configure(IConfig configSource); | 36 | string PerformScriptCompile(string source, string asset); |
37 | void Compile(string text, string outFile, List<IScriptApi> apiList); | 37 | Dictionary<KeyValuePair<int, int>, KeyValuePair<int, int>> |
38 | LineMap(); | ||
38 | } | 39 | } |
39 | } | 40 | } |
diff --git a/OpenSim/Region/ScriptEngine/Interfaces/IScriptInstance.cs b/OpenSim/Region/ScriptEngine/Interfaces/IScriptInstance.cs index 0c807a8..dee7970 100644 --- a/OpenSim/Region/ScriptEngine/Interfaces/IScriptInstance.cs +++ b/OpenSim/Region/ScriptEngine/Interfaces/IScriptInstance.cs | |||
@@ -96,5 +96,8 @@ namespace OpenSim.Region.ScriptEngine.Interfaces | |||
96 | void DestroyScriptInstance(); | 96 | void DestroyScriptInstance(); |
97 | 97 | ||
98 | IScriptApi GetApi(string name); | 98 | IScriptApi GetApi(string name); |
99 | |||
100 | Dictionary<KeyValuePair<int, int>, KeyValuePair<int, int>> LineMap | ||
101 | { get; set; } | ||
99 | } | 102 | } |
100 | } | 103 | } |