From 9cf61cef9d798573eab39c5e8c25763aaee5cbca Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Tue, 15 Sep 2009 18:11:21 -0400 Subject: [PATCH] Fix --error-limit option being ignored. --- Changes | 2 ++ src/V3Options.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Changes b/Changes index c3bc67ba0..98441af29 100644 --- a/Changes +++ b/Changes @@ -11,6 +11,8 @@ indicates the contributor was also the author of the fix; Thanks! **** Fix $display with uppercase %M. +**** Fix --error-limit option being ignored. + * Verilator 3.713 2009/08/04 ** Support constant function calls for parameters. [many!] diff --git a/src/V3Options.cpp b/src/V3Options.cpp index 61bb13ded..76928028c 100644 --- a/src/V3Options.cpp +++ b/src/V3Options.cpp @@ -577,7 +577,7 @@ void V3Options::parseOptsList(FileLine* fl, int argc, char** argv) { } else if ( !strcmp (sw, "-error-limit") ) { shift; - m_inlineMult = atoi(argv[i]); + m_errorLimit = atoi(argv[i]); } else if ( !strcmp (sw, "-inline-mult") ) { shift;