1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Fixed NPE that occured during automated test suite.

This commit is contained in:
Doug Schaefer 2005-12-02 21:26:16 +00:00
parent 3a28f498db
commit 59a2dc123a

View file

@ -130,6 +130,9 @@ public class PDOMDatabase implements IPDOM {
ILanguage.AST_USE_INDEX |
ILanguage.AST_SKIP_INDEXED_HEADERS);
if (ast == null)
return;
ast.accept(new ASTVisitor() {
{
shouldVisitNames = true;