diff options
author | Melanie Thielker | 2008-07-28 00:40:35 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-07-28 00:40:35 +0000 |
commit | 9fca0aca6432f14cd68ffdc51703762ee7b575a3 (patch) | |
tree | cb74e6e4e49d944f33b9011604a15694063e2ae9 /OpenSim/Region/ScriptEngine/Shared/CodeTools | |
parent | Use new LSL compiler by default in DotNetEngine and XEngine. Fix issues 1651,... (diff) | |
download | opensim-SC_OLD-9fca0aca6432f14cd68ffdc51703762ee7b575a3.zip opensim-SC_OLD-9fca0aca6432f14cd68ffdc51703762ee7b575a3.tar.gz opensim-SC_OLD-9fca0aca6432f14cd68ffdc51703762ee7b575a3.tar.bz2 opensim-SC_OLD-9fca0aca6432f14cd68ffdc51703762ee7b575a3.tar.xz |
Reinstate the configuration option on XEngine's use of the lexical
compiler. Changes the default in OpenSim.ini.example to "true" to
allow for a broader user base for testing.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/CodeTools')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs index 2386c6f..4962023 100644 --- a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs +++ b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs | |||
@@ -93,11 +93,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools | |||
93 | public bool in_startup = true; | 93 | public bool in_startup = true; |
94 | public void ReadConfig() | 94 | public void ReadConfig() |
95 | { | 95 | { |
96 | // Turning on the compiler by default so hardcoding this option to | 96 | m_UseCompiler = m_scriptEngine.Config.GetBoolean("UseNewCompiler", true); |
97 | // true. Once it's clear we won't be going back to the old | ||
98 | // "compiler" this code will be removed completely. | ||
99 | // Mike, 2008.07.28 | ||
100 | //m_UseCompiler = m_scriptEngine.Config.GetBoolean("UseNewCompiler", true); | ||
101 | 97 | ||
102 | // Get some config | 98 | // Get some config |
103 | WriteScriptSourceToDebugFile = m_scriptEngine.Config.GetBoolean("WriteScriptSourceToDebugFile", true); | 99 | WriteScriptSourceToDebugFile = m_scriptEngine.Config.GetBoolean("WriteScriptSourceToDebugFile", true); |