Internals: Fix clang_check_attributes false error print

This commit is contained in:
Wilson Snyder 2024-03-30 11:58:34 -04:00
parent 840970e8f7
commit e16cbce52e

View File

@ -434,7 +434,7 @@ class CallAnnotationsValidator:
self.process_translation_unit(translation_unit)
self._main_source_file = ""
self._defines = {}
else:
elif len(errors):
print(f"%Error: parsing failed: {filename}", file=sys.stderr)
for error in errors:
print(f" {error}", file=sys.stderr)