summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/netlist/plib/pfunction.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/netlist/plib/pfunction.h')
-rw-r--r--src/lib/netlist/plib/pfunction.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/netlist/plib/pfunction.h b/src/lib/netlist/plib/pfunction.h
index c6e94614856..cab5a78a983 100644
--- a/src/lib/netlist/plib/pfunction.h
+++ b/src/lib/netlist/plib/pfunction.h
@@ -58,7 +58,7 @@ namespace plib {
///
///
pfunction(const pstring &name, const void *owner, state_manager_t &state_manager)
- : m_lfsr(0xACE1u)
+ : m_lfsr(0xace1U)
{
state_manager.save_item(owner, m_lfsr, name + ".lfsr");
}
@@ -66,7 +66,7 @@ namespace plib {
/// \brief Constructor without state saving support
///
pfunction()
- : m_lfsr(0xACE1u)
+ : m_lfsr(0xace1U)
{
}
@@ -76,21 +76,21 @@ namespace plib {
/// to be prefixed with rpn, e.g. "rpn:A B + 1.3 /"
/// \param inputs Vector of input variables, e.g. {"A","B"}
///
- void compile(const pstring &expr, const std::vector<pstring> &inputs);
+ void compile(const pstring &expr, const std::vector<pstring> &inputs) noexcept(false);
/// \brief Compile a rpn expression
///
/// \param expr Reverse polish notation expression, e.g. "A B + 1.3 /"
/// \param inputs Vector of input variables, e.g. {"A","B"}
///
- void compile_postfix(const pstring &expr, const std::vector<pstring> &inputs);
+ void compile_postfix(const pstring &expr, const std::vector<pstring> &inputs) noexcept(false);
/// \brief Compile an infix expression
///
/// \param expr Infix expression, e.g. "(A+B)/1.3"
/// \param inputs Vector of input variables, e.g. {"A","B"}
///
- void compile_infix(const pstring &expr, const std::vector<pstring> &inputs);
+ void compile_infix(const pstring &expr, const std::vector<pstring> &inputs) noexcept(false);
/// \brief Evaluate the expression
///