forked from qt-creator/qt-creator
		
	Removed DeclarationListAST node.
Done with Erik Verbruggen
This commit is contained in:
		| @@ -414,7 +414,7 @@ void Document::check(CheckMode mode) | ||||
|  | ||||
|     if (TranslationUnitAST *ast = _translationUnit->ast()->asTranslationUnit()) { | ||||
|         for (DeclarationListAST *decl = ast->declarations; decl; decl = decl->next) { | ||||
|             semantic.check(decl->declaration, globals); | ||||
|             semantic.check(decl->value, globals); | ||||
|         } | ||||
|     } else if (ExpressionAST *ast = _translationUnit->ast()->asExpression()) { | ||||
|         semantic.check(ast, globals); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user