diff options
author | Charles Krinke | 2009-02-25 04:29:02 +0000 |
---|---|---|
committer | Charles Krinke | 2009-02-25 04:29:02 +0000 |
commit | ed7256ac0c47857cd83e96d953571c47add68a6c (patch) | |
tree | 4480ac580571b1264a885f52f863144c9aa566d8 /OpenSim/Region/ScriptEngine/Shared/CodeTools/CSCodeGenerator.cs | |
parent | Distinguish 404 errors in RestClient.Request(). (diff) | |
download | opensim-SC_OLD-ed7256ac0c47857cd83e96d953571c47add68a6c.zip opensim-SC_OLD-ed7256ac0c47857cd83e96d953571c47add68a6c.tar.gz opensim-SC_OLD-ed7256ac0c47857cd83e96d953571c47add68a6c.tar.bz2 opensim-SC_OLD-ed7256ac0c47857cd83e96d953571c47add68a6c.tar.xz |
Fixes Mantis #3187. Thank you kindly, DoranZemlja for a patch that:
Deals with the multiple warning side affect introduced earlier.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/CodeTools/CSCodeGenerator.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/CodeTools/CSCodeGenerator.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/CodeTools/CSCodeGenerator.cs b/OpenSim/Region/ScriptEngine/Shared/CodeTools/CSCodeGenerator.cs index 880ba4a..bf97d5f 100644 --- a/OpenSim/Region/ScriptEngine/Shared/CodeTools/CSCodeGenerator.cs +++ b/OpenSim/Region/ScriptEngine/Shared/CodeTools/CSCodeGenerator.cs | |||
@@ -87,6 +87,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools | |||
87 | /// <returns>String containing the generated C# code.</returns> | 87 | /// <returns>String containing the generated C# code.</returns> |
88 | public string Convert(string script) | 88 | public string Convert(string script) |
89 | { | 89 | { |
90 | m_warnings.Clear(); | ||
90 | ResetCounters(); | 91 | ResetCounters(); |
91 | Parser p = new LSLSyntax(new yyLSLSyntax(), new ErrorHandler(true)); | 92 | Parser p = new LSLSyntax(new yyLSLSyntax(), new ErrorHandler(true)); |
92 | // Obviously this needs to be in a try/except block. | 93 | // Obviously this needs to be in a try/except block. |