Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLevi Bard <levi@unity3d.com>2011-03-18 17:58:52 +0300
committerLluis Sanchez <slluis.devel@gmail.com>2011-03-18 23:33:45 +0300
commit4262af77a221d1332790491659084ab3e49c1980 (patch)
treee6e9d24b52487d364ecb606e841c92320ce78691 /main/src/addins/CBinding
parentc3798c7694f56f1f6997ff2a4bd1caf0d885644d (diff)
[C] Allow linker error messages to contain :. Fixes #662086.
* Compiler/GNUCompiler.cs: Allow linker error messages to contain : License: MIT/X11
Diffstat (limited to 'main/src/addins/CBinding')
-rw-r--r--main/src/addins/CBinding/Compiler/GNUCompiler.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/addins/CBinding/Compiler/GNUCompiler.cs b/main/src/addins/CBinding/Compiler/GNUCompiler.cs
index 41d9a32969..bf2d0c06f3 100644
--- a/main/src/addins/CBinding/Compiler/GNUCompiler.cs
+++ b/main/src/addins/CBinding/Compiler/GNUCompiler.cs
@@ -665,7 +665,7 @@ namespace CBinding
@"^\s*(?<file>.*):(?<line>\d*):\s*(?<level>.*)\s*:\s(?<message>.*)",
RegexOptions.Compiled | RegexOptions.ExplicitCapture);
private static Regex linkerRegex = new Regex (
- @"^\s*(?<file>[^:]*):(?<line>\d*):\s*(?<message>[^:]*)",
+ @"^\s*(?<file>[^:]*):(?<line>\d*):\s*(?<message>.*)",
RegexOptions.Compiled | RegexOptions.ExplicitCapture);
private CompilerError CreateErrorFromErrorString (string errorString, TextReader reader)