Fixed binary AND to logical AND
This commit is contained in:
2
decl.cpp
2
decl.cpp
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user