diff options
author | Levi Bard <levi@unity3d.com> | 2011-03-18 17:58:52 +0300 |
---|---|---|
committer | Lluis Sanchez <slluis.devel@gmail.com> | 2011-03-18 23:33:45 +0300 |
commit | 4262af77a221d1332790491659084ab3e49c1980 (patch) | |
tree | e6e9d24b52487d364ecb606e841c92320ce78691 /main/src/addins/CBinding | |
parent | c3798c7694f56f1f6997ff2a4bd1caf0d885644d (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.cs | 2 |
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) |