summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/netlist/plib/ppreprocessor.cpp
diff options
context:
space:
mode:
author couriersud <couriersud@gmx.org>2019-11-05 00:08:52 +0100
committer couriersud <couriersud@gmx.org>2019-11-05 00:08:52 +0100
commit22e07506cc763caa4b26dbded8b14c466d8d6949 (patch)
tree73f98f3b1fdff8920669947594417d50e861a095 /src/lib/netlist/plib/ppreprocessor.cpp
parentf315e47b89d62ddfe70a649dc439a80844d144c0 (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.cpp2
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>