projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
flush
[m6w6/ext-psi]
/
src
/
validator.c
diff --git
a/src/validator.c
b/src/validator.c
index 5a6f5d96de0782acad1f0aa451262a8bf1fc1cab..7222a57f16e42919e91c4422f1621602b63f8edf 100644
(file)
--- a/
src/validator.c
+++ b/
src/validator.c
@@
-409,7
+409,7
@@
int PSI_ValidatorValidate(PSI_Validator *V)
if (V->decls && !validate_decls(V)) {
return 0;
}
- if (
V->impls &&
!validate_impls(V)) {
+ if (
!V->impls ||
!validate_impls(V)) {
return 0;
}
return 1;