From 85068dae60db02b168a29ffd75e1408e30d279e1 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Sat, 27 Sep 2008 05:31:43 +0000 Subject: Add friendly error messages to both engines. --- OpenSim/Region/ScriptEngine/Interfaces/ICompiler.cs | 5 +++-- OpenSim/Region/ScriptEngine/Interfaces/IScriptInstance.cs | 3 +++ 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/ScriptEngine/Interfaces') 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 { public interface ICompiler { - void Configure(IConfig configSource); - void Compile(string text, string outFile, List apiList); + string PerformScriptCompile(string source, string asset); + Dictionary, KeyValuePair> + LineMap(); } } 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 void DestroyScriptInstance(); IScriptApi GetApi(string name); + + Dictionary, KeyValuePair> LineMap + { get; set; } } } -- cgit v1.1