From 65cd4f6047d9f27e55263059bbf3f31cd548b8d0 Mon Sep 17 00:00:00 2001 From: James Hanlon Date: Tue, 21 Apr 2020 18:11:53 -0400 Subject: [PATCH] Fix comment and add to CONTRIBUTORS (#2270). --- docs/CONTRIBUTORS | 1 + src/V3Options.cpp | 2 +- src/V3Options.h | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/CONTRIBUTORS b/docs/CONTRIBUTORS index 447e57f23..dedbf3726 100644 --- a/docs/CONTRIBUTORS +++ b/docs/CONTRIBUTORS @@ -14,6 +14,7 @@ Geza Lore Gianfranco Costamagna Howard Su Iztok Jeras +James Hanlon Jeremy Bennett John Coiner Julien Margetts diff --git a/src/V3Options.cpp b/src/V3Options.cpp index 51a889cb6..641424df8 100644 --- a/src/V3Options.cpp +++ b/src/V3Options.cpp @@ -883,7 +883,7 @@ void V3Options::parseOptsList(FileLine* fl, const string& optdir, int argc, char else if ( onoff (sw, "-vpi", flag/*ref*/)) { m_vpi = flag; } else if ( onoff (sw, "-Wpedantic", flag/*ref*/)) { m_pedantic = flag; } else if ( onoff (sw, "-x-initial-edge", flag/*ref*/)) { m_xInitialEdge = flag; } - else if ( onoff (sw, "-xml-only", flag/*ref*/)) { m_xmlOnly = flag; } // Undocumented, still experimental + else if ( onoff (sw, "-xml-only", flag/*ref*/)) { m_xmlOnly = flag; } else { hadSwitchPart1 = false; } // clang-format on diff --git a/src/V3Options.h b/src/V3Options.h index c5ef514ed..32745c8d6 100644 --- a/src/V3Options.h +++ b/src/V3Options.h @@ -268,7 +268,7 @@ private: bool m_verilate; // main swith: --verilate bool m_vpi; // main switch: --vpi bool m_xInitialEdge; // main switch: --x-initial-edge - bool m_xmlOnly; // main switch: --xml-netlist + bool m_xmlOnly; // main switch: --xml-only int m_buildJobs; // main switch: -j int m_convergeLimit;// main switch: --converge-limit