Fixed binary AND to logical AND

This commit is contained in:
Jean-Luc Duprat
2012-03-29 17:03:22 -07:00
parent b923e4daea
commit 512f8d8b60

View File

@@ -578,7 +578,7 @@ Declarator::GetType(DeclSpecs *ds) const {
const Type *type = GetType(baseType, ds);
if (ds->declSpecList.size() > 0 &&
type != NULL &
type != NULL &&
dynamic_cast<const FunctionType *>(type) == NULL) {
Error(pos, "__declspec specifiers for non-function type \"%s\" are "
"not used.", type->GetString().c_str());