Fix rvct compiler parser bug 10525
authortimkelly
Tue, 02 Feb 2010 10:42:23 -0600
changeset 878 70054f4362b3
parent 875 73e89d441558
child 879 7b2f792564dc
Fix rvct compiler parser bug 10525
builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/error/parsers/RVCTCompilerErrorParser.java
--- a/builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/error/parsers/RVCTCompilerErrorParser.java	Tue Feb 02 09:33:03 2010 -0600
+++ b/builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/error/parsers/RVCTCompilerErrorParser.java	Tue Feb 02 10:42:23 2010 -0600
@@ -37,7 +37,7 @@
 		
 		// check for other errors that don't have a common pattern
 		// e.g. "no source": Error:  #5: cannot open source input file "\CarbideB18_workspace\BlackFlag\group\SRC\dbg_debug_menu.cpp": No such file or directory
-		if (aLine.contains("No such file or directory")){
+		if (aLine.contains("No such file or directory") && !aLine.contains(" line ")){
 			aErrorParserManager.generateMarker(aErrorParserManager.getProject(), 0, aLine, IMarkerGenerator.SEVERITY_ERROR_BUILD, null);
 			return true;
 		}