mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 09:46:02 +02:00
fix for bug#106064
patch from Anton Leherbauer
This commit is contained in:
parent
bdebf10e1a
commit
d4ee99391a
1 changed files with 4 additions and 1 deletions
|
@ -62,7 +62,10 @@ public class MakefileDocumentProvider extends TextFileDocumentProvider implement
|
||||||
/**
|
/**
|
||||||
*/
|
*/
|
||||||
private IMakefile createMakefile(IFile file) {
|
private IMakefile createMakefile(IFile file) {
|
||||||
return MakeCorePlugin.getDefault().createMakefile(file);
|
if (file.exists()) {
|
||||||
|
return MakeCorePlugin.getDefault().createMakefile(file);
|
||||||
|
}
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
|
|
Loading…
Add table
Reference in a new issue