Skip to content

Commit

Permalink
update linter.py CHANGELOG.md
Browse files Browse the repository at this point in the history
 Suppress error "unit XXX ignored due to previous errors" from `xvhdl`.
  • Loading branch information
mzh330521 committed Jan 28, 2022
1 parent 899a729 commit 4bdd1d5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
## 1.0.2

- Suppress error "unit XXX ignored due to previous errors" from `xvhdl`.

## 1.0.1

- Suppress error "module XXX ignored due to previous errors".
- Suppress error "module XXX ignored due to previous errors" from `xvlog`.

## 1.0.0

Expand Down
6 changes: 3 additions & 3 deletions linter.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class xvlog(Linter):

regex = (
r'((?P<error>ERROR)|(?P<warning>WARNING)): '
r'((.*module.*ignored due to previous errors.*)|(?P<message>([^"\'\n]*(?P<quote>["\'])(?P<near>[^"\']+)(?P=quote))?.*)) '
r'((.*ignored due to previous errors)|(?P<message>([^"\'\n]*(?P<quote>["\'])(?P<near>[^"\']+)(?P=quote))?.*)) '
r'\[(?P<file>.*):'
r'(?P<line>\d+)\]'
)
Expand All @@ -33,7 +33,7 @@ class xvlog_sv(Linter):

regex = (
r'((?P<error>ERROR)|(?P<warning>WARNING)): '
r'((.*module.*ignored due to previous errors.*)|(?P<message>([^"\'\n]*(?P<quote>["\'])(?P<near>[^"\']+)(?P=quote))?.*)) '
r'((.*ignored due to previous errors)|(?P<message>([^"\'\n]*(?P<quote>["\'])(?P<near>[^"\']+)(?P=quote))?.*)) '
r'\[(?P<file>.*):'
r'(?P<line>\d+)\]'
)
Expand All @@ -51,7 +51,7 @@ class xvhdl(Linter):

regex = (
r'((?P<error>ERROR)|(?P<warning>WARNING)): '
r'(?P<message>([^"\'\n]*(?P<quote>["\'])(?P<near>[^"\']+)(?P=quote))?.*) '
r'((.*ignored due to previous errors)|(?P<message>([^"\'\n]*(?P<quote>["\'])(?P<near>[^"\']+)(?P=quote))?.*)) '
r'\[(?P<file>.*):'
r'(?P<line>\d+)\]'
)

0 comments on commit 4bdd1d5

Please sign in to comment.