Skip to content

Commit 36f7b93

Browse files
author
Oron Port
committed
handle another possibility of questa error
1 parent b660d46 commit 36f7b93

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/src/main/scala/dfhdl/tools/toolsCore/QuestaSim.scala

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ object QuestaSimVerilog extends QuestaSimCommon, VerilogLinter, VerilogSimulator
9494
lineIsWarning = (line: String) => line.startsWith("# ** Warning:"),
9595
lineIsSuppressed = (line: String) => false,
9696
lineIsErrorOpt =
97-
Some((line: String) => line.startsWith("# ** Error:") || line.startsWith("# ** Fatal:"))
97+
// "Error" can be followed by "(suppressible), so we don't wait for colons too"
98+
Some((line: String) => line.startsWith("# ** Error") || line.startsWith("# ** Fatal:"))
9899
)
99100
)
100101
end QuestaSimVerilog
@@ -153,7 +154,8 @@ object QuestaSimVHDL extends QuestaSimCommon, VHDLLinter, VHDLSimulator:
153154
else false,
154155
lineIsErrorOpt =
155156
Some((line: String) =>
156-
line.startsWith("# ** Error:") || line.startsWith("# ** Failure:")
157+
// "Error" can be followed by "(suppressible), so we don't wait for colons too"
158+
line.startsWith("# ** Error") || line.startsWith("# ** Failure:")
157159
)
158160
)
159161
)

0 commit comments

Comments
 (0)