mirror of
https://github.com/verilator/verilator.git
synced 2025-01-06 06:37:45 +00:00
Internals: Fix clang_check_attributes false error print
This commit is contained in:
parent
840970e8f7
commit
e16cbce52e
@ -434,7 +434,7 @@ class CallAnnotationsValidator:
|
|||||||
self.process_translation_unit(translation_unit)
|
self.process_translation_unit(translation_unit)
|
||||||
self._main_source_file = ""
|
self._main_source_file = ""
|
||||||
self._defines = {}
|
self._defines = {}
|
||||||
else:
|
elif len(errors):
|
||||||
print(f"%Error: parsing failed: {filename}", file=sys.stderr)
|
print(f"%Error: parsing failed: {filename}", file=sys.stderr)
|
||||||
for error in errors:
|
for error in errors:
|
||||||
print(f" {error}", file=sys.stderr)
|
print(f" {error}", file=sys.stderr)
|
||||||
|
Loading…
Reference in New Issue
Block a user