Remove the script engine identifier tag, so the compiler just sees
the language specifier. Makes language specifiers work again with script engine specifiers.0.6.0-stable
parent
232aa783ad
commit
b8a39a4dde
|
@ -204,6 +204,7 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase
|
|||
if (firstline.Length > 2 && firstline.Substring(0, 2) == "//" && colon != -1)
|
||||
{
|
||||
engine = firstline.Substring(2, colon-2);
|
||||
script = "//" + script.Substring(script.IndexOf(':')+1);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -351,6 +351,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine
|
|||
if (firstline.Length > 2 && firstline.Substring(0, 2) == "//" && colon != -1)
|
||||
{
|
||||
engine = firstline.Substring(2, colon-2);
|
||||
script = "//" + script.Substring(script.IndexOf(':')+1);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue