From af5616c0779fd5dae425af8393ca90d156fd5e4f Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Fri, 28 Jun 2019 21:42:49 -0400 Subject: [PATCH] Fix line number in dup vars. --- src/V3LinkDot.cpp | 2 +- test_regress/t/t_var_dup2_bad.out | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/V3LinkDot.cpp b/src/V3LinkDot.cpp index cc18583e0..603f3cc5f 100644 --- a/src/V3LinkDot.cpp +++ b/src/V3LinkDot.cpp @@ -947,7 +947,7 @@ class LinkDotFindVisitor : public AstNVisitor { nodep->v3error("Duplicate declaration of signal: " <prettyName()<warnMore()+"... note: ANSI ports must have type declared with the I/O (IEEE 2017 23.2.2.2)\n" + ? nodep->warnMore()+"... note: ANSI ports must have type declared with the I/O (IEEE 2017 23.2.2.2)\n" : "") <warnContextPrimary()<warnMore()<<"... Location of original declaration"<