mirror of
https://github.com/verilator/verilator.git
synced 2025-01-08 15:47:36 +00:00
Fix backtrace on bisonpre error
This commit is contained in:
parent
efc116323b
commit
cb95a7294f
@ -172,8 +172,8 @@ def warning_check(filename):
|
|||||||
if re.search(r'(conflicts|warning:|^useless)',
|
if re.search(r'(conflicts|warning:|^useless)',
|
||||||
line,
|
line,
|
||||||
flags=re.IGNORECASE):
|
flags=re.IGNORECASE):
|
||||||
sys.exit("%Error: " + filename + ":" + linenum + ": " + line +
|
sys.exit("%Error: " + filename + ":" + str(linenum) + ": " +
|
||||||
"\n")
|
line + "\n")
|
||||||
|
|
||||||
|
|
||||||
######################################################################
|
######################################################################
|
||||||
|
Loading…
Reference in New Issue
Block a user