diff options
author | 2020-01-20 21:15:22 +0100 | |
---|---|---|
committer | 2020-01-20 21:15:22 +0100 | |
commit | 9e272e4b551d14e7032913f0aa972e2dd45fb4bd (patch) | |
tree | b6c7c56b187f18f33eaba2f585a04ef433211ecf /src/lib/netlist/plib/ppreprocessor.cpp | |
parent | 81703afe74615ec5cc399dd91946e4d3b05d83a7 (diff) |
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
Diffstat (limited to 'src/lib/netlist/plib/ppreprocessor.cpp')
-rw-r--r-- | src/lib/netlist/plib/ppreprocessor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<pexception>("\n" + s + e + " " + m_line + "\n"); + throw pexception("\n" + s + e + " " + m_line + "\n"); } template <typename PP, typename L = ppreprocessor::string_list> |