mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +02:00
From Sam Robb:
Moves the creation of the ErrorParserManager to invokeMake() so it picks up the proper context for getProject().
This commit is contained in:
parent
44ebc59862
commit
b9e49851ca
1 changed files with 3 additions and 4 deletions
|
@ -37,10 +37,7 @@ public class CBuilder extends ACBuilder {
|
|||
|
||||
private static final String BUILD_ERROR= "CBuilder.build_error";
|
||||
|
||||
private ErrorParserManager fErrorParserManager;
|
||||
|
||||
public CBuilder() {
|
||||
fErrorParserManager= new ErrorParserManager(this);
|
||||
}
|
||||
|
||||
public IPath getWorkingDirectory() {
|
||||
|
@ -139,7 +136,9 @@ public class CBuilder extends ACBuilder {
|
|||
subMonitor = new SubProgressMonitor(monitor, IProgressMonitor.UNKNOWN);
|
||||
subMonitor.subTask("Parsing");
|
||||
cos.flush();
|
||||
fErrorParserManager.parse(cos.getContent());
|
||||
|
||||
ErrorParserManager epm= new ErrorParserManager(this);
|
||||
epm.parse(cos.getContent());
|
||||
|
||||
if (errMsg != null) {
|
||||
String errorDesc= CCorePlugin.getFormattedString(BUILD_ERROR, makepath.toString());
|
||||
|
|
Loading…
Add table
Reference in a new issue