diff options
author | 2019-11-05 00:08:52 +0100 | |
---|---|---|
committer | 2019-11-05 00:08:52 +0100 | |
commit | 22e07506cc763caa4b26dbded8b14c466d8d6949 (patch) | |
tree | 73f98f3b1fdff8920669947594417d50e861a095 /src/lib/netlist/plib/ppreprocessor.cpp | |
parent | f315e47b89d62ddfe70a649dc439a80844d144c0 (diff) |
netlist: more consistent exception handling. (nw)
Still not optimal, but better than what we had previously. No exception
logging comes closer.
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 810e77e3d87..80564064bb2 100644 --- a/src/lib/netlist/plib/ppreprocessor.cpp +++ b/src/lib/netlist/plib/ppreprocessor.cpp @@ -67,7 +67,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(); } - throw pexception("\n" + s + e + " " + m_line + "\n"); + pthrow<pexception>("\n" + s + e + " " + m_line + "\n"); } template <typename PP, typename L = ppreprocessor::string_list> |