From 9e272e4b551d14e7032913f0aa972e2dd45fb4bd Mon Sep 17 00:00:00 2001 From: couriersud Date: Mon, 20 Jan 2020 21:15:22 +0100 Subject: netlist: code maintenance. (nw) - remove pthrow trampline as proposed by Vas. - identify throwing code by adding noexcept(false) - move "connected term" information to setup code. - srcclean --- src/lib/netlist/plib/ppreprocessor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/netlist/plib/ppreprocessor.cpp') diff --git a/src/lib/netlist/plib/ppreprocessor.cpp b/src/lib/netlist/plib/ppreprocessor.cpp index 377c37d9fca..f98a57cb921 100644 --- a/src/lib/netlist/plib/ppreprocessor.cpp +++ b/src/lib/netlist/plib/ppreprocessor.cpp @@ -63,7 +63,7 @@ namespace plib { s = trail + plib::pfmt("{1}:{2}:0\n")(m_stack.back().m_name, m_stack.back().m_lineno) + s; m_stack.pop_back(); } - pthrow("\n" + s + e + " " + m_line + "\n"); + throw pexception("\n" + s + e + " " + m_line + "\n"); } template -- cgit v1.2.3-70-g09d2