ide; build output parsing; improved error counting to ignore occurences of error...
authorRejean Loyer <rejean.loyer@gmail.com>
Thu, 7 Mar 2013 01:38:30 +0000 (20:38 -0500)
committerJerome St-Louis <jerome@ecere.com>
Thu, 7 Mar 2013 07:26:43 +0000 (02:26 -0500)
ide/src/project/Project.ec

index 9f92af9..dc183bf 100644 (file)
@@ -1613,7 +1613,8 @@ private:
                            PathCatSlash(temp, moduleName);
                            MakePathRelative(temp, topNode.path, moduleName);
                         }
-                        if(strstr(line, "error:"))
+                        error = strstr(line, "error:");
+                        if(error && error < colon)
                            numErrors++;
                         else
                         {