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