Skip to content

Commit

Permalink
Remove commented regex lines
Browse files Browse the repository at this point in the history
  • Loading branch information
jevogel committed Nov 9, 2018
1 parent 1ac141f commit c1b8749
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions linter.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,18 +52,10 @@ class vcom(Linter):
# 1) Since ModelSim doesn't provide the 'Col' information, we utilize the
# <near> field, when possible (i.e. use a "quoted text" to derive <near>
# field position)
# 2) Note that <code> field isn't used (it can be, but it doesn't really
# serve any meaningful purpose)
# 2) <code> field is used, but it doesn't really serve any meaningful
# purpose
# 3) Suppress message "** Error: file(line): VHDL Compiler exiting"
# at the end of any file with errors
# regex = (
# r'\*\* ((?P<error>Error)|(?P<warning>Warning)): '
# r'(?P<file>.*)'
# r'\((?P<line>\d+)\): '
# r'(VHDL Compiler exiting)?'
# r'(?P<message>([^"]*\"(?P<near>[^"]+)\")?.*)'
# )

regex = (
r'\*\* ((?P<error>Error( \(suppressible\))?)|(?P<warning>Warning)): '
r'(?P<file>.*)'
Expand Down

0 comments on commit c1b8749

Please sign in to comment.