Author: ankit
Date: 2007-09-28 06:32:53 -0400 (Fri, 28 Sep 2007)
New Revision: 86564

Modified:
   trunk/monodevelop/Extras/MonoDevelop.Autotools/ChangeLog
   trunk/monodevelop/Extras/MonoDevelop.Autotools/MakefileData.cs
Log:
* MakefileData.cs: Update standard gcc regex to also match column info.


Modified: trunk/monodevelop/Extras/MonoDevelop.Autotools/ChangeLog
===================================================================
--- trunk/monodevelop/Extras/MonoDevelop.Autotools/ChangeLog    2007-09-28 
10:29:40 UTC (rev 86563)
+++ trunk/monodevelop/Extras/MonoDevelop.Autotools/ChangeLog    2007-09-28 
10:32:53 UTC (rev 86564)
@@ -1,3 +1,7 @@
+2007-09-28  Levi Bard <[EMAIL PROTECTED]>
+
+       * MakefileData.cs: Update standard gcc regex to also match column info.
+
 2007-09-21  Lluis Sanchez Gual <[EMAIL PROTECTED]> 
 
        * MonoDevelop.Autotools.addin.xml: Bump MD version.

Modified: trunk/monodevelop/Extras/MonoDevelop.Autotools/MakefileData.cs
===================================================================
--- trunk/monodevelop/Extras/MonoDevelop.Autotools/MakefileData.cs      
2007-09-28 10:29:40 UTC (rev 86563)
+++ trunk/monodevelop/Extras/MonoDevelop.Autotools/MakefileData.cs      
2007-09-28 10:32:53 UTC (rev 86564)
@@ -490,9 +490,9 @@
                        
                        compilerMessageRegex ["gcc"] = new string [2];
                        compilerMessageRegex ["gcc"][0] = 
-                               
@"^\s*(?<file>.*):(?<line>\d*){1}\s*:\s*error\s*:\s(?<message>.*)";
+                               
@"^\s*(?<file>[^:]*):(?<line>\d*){1}(:(?<column>\d*))?\s*:\s*error\s*:\s(?<message>.*)";
                        compilerMessageRegex ["gcc"][1] = 
-                               
@"^\s*(?<file>.*):(?<line>\d*){1}\s*:\s*warning\s*:\s(?<message>.*)";
+                               
@"^\s*(?<file>[^:]*):(?<line>\d*){1}(:(?<column>\d*))?\s*:\s*warning\s*:\s(?<message>.*)";
                }
 
                void InitBuildVars ()

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to