diff options
author | Lluis Sanchez <lluis@novell.com> | 2009-11-10 12:21:58 +0300 |
---|---|---|
committer | Lluis Sanchez <lluis@novell.com> | 2009-11-10 12:21:58 +0300 |
commit | 24706adbeff9d13662c18d36241de3e9f54ec8a9 (patch) | |
tree | fb84e660825093ea4362914109086d1b3c555dee /main/src/addins/ILAsmBinding/ILAsmCompilerManager.cs | |
parent | bab2669e0e37b767698249ecee168654cf77dcb4 (diff) |
* ILAsmCompilerManager.cs: Make the error parsing regex work on
ms.net.
svn path=/trunk/monodevelop/; revision=145819
Diffstat (limited to 'main/src/addins/ILAsmBinding/ILAsmCompilerManager.cs')
-rw-r--r-- | main/src/addins/ILAsmBinding/ILAsmCompilerManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/addins/ILAsmBinding/ILAsmCompilerManager.cs b/main/src/addins/ILAsmBinding/ILAsmCompilerManager.cs index 36f29154ec..f980bc206d 100644 --- a/main/src/addins/ILAsmBinding/ILAsmCompilerManager.cs +++ b/main/src/addins/ILAsmBinding/ILAsmCompilerManager.cs @@ -221,7 +221,7 @@ namespace ILAsmBinding return exitCode; } - static Regex regexError = new Regex (@"^(\s*(?<file>.*)\s\((?<line>\d*)(,\s(?<column>\d*[\+]*))?\)\s(:|)\s+)*(?<level>\w+)\s*:\s*(?<message>.*)", RegexOptions.Compiled | RegexOptions.ExplicitCapture); + static Regex regexError = new Regex (@"^(\s*(?<file>.*)\s?\((?<line>\d*)(,\s(?<column>\d*[\+]*))?\)\s(:|)\s+)*(?<level>\w+)\s*(:|(--))\s*(?<message>.*)", RegexOptions.Compiled | RegexOptions.ExplicitCapture); static BuildError CreateErrorFromString (string error_string) { // When IncludeDebugInformation is true, prevents the debug symbols stats from breaking this. |