summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/netlist/nl_parser.cpp
diff options
context:
space:
mode:
author couriersud <couriersud@gmx.org>2020-07-01 20:59:04 +0200
committer couriersud <couriersud@gmx.org>2020-07-01 20:59:04 +0200
commit319be2dfd271ebf81ba3cf651be0b30695ec0d06 (patch)
tree08d9d10c35c10a495412292f628d41a82ed1873b /src/lib/netlist/nl_parser.cpp
parent51ba9b48f08202939d06240eaa1dcfc7dfbd7c1c (diff)
netlist: code maintenance and bug fixes.
* palloc.h/pmatrix2d.h: Fix static_assert warnings at the origin. * Rework hints to broaden their use and fix NC hint. * 74377: use NC hint * plists.h: Fix debugging in MSVC * Include cleanup: Move everything not needed by netlists from nl_setup.h into core/setup.h * Fix some clang tidy warnings * srcclean
Diffstat (limited to 'src/lib/netlist/nl_parser.cpp')
-rw-r--r--src/lib/netlist/nl_parser.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/netlist/nl_parser.cpp b/src/lib/netlist/nl_parser.cpp
index 9a8561f4cf3..7c0ad9e7ff7 100644
--- a/src/lib/netlist/nl_parser.cpp
+++ b/src/lib/netlist/nl_parser.cpp
@@ -133,7 +133,7 @@ void parser_t::parse_netlist(const pstring &nlname)
{
require_token(m_tok_paren_left);
// FIXME: Need to pass in parameter definition FIXME: get line number right
- m_setup.register_lib_entry(get_identifier(), factory::properties("", plib::source_location("parser: " + nlname, 1)));
+ m_setup.register_lib_entry(get_identifier(), "", plib::source_location("parser: " + nlname, 1));
require_token(m_tok_paren_right);
}
else if (token.is(m_tok_NETLIST_END))
@@ -199,7 +199,7 @@ void parser_t::net_truthtable_start(const pstring &nlname)
require_token(m_tok_paren_left);
require_token(m_tok_paren_right);
// FIXME: proper location
- m_setup.truthtable_create(desc, factory::properties("+" + def_param, plib::source_location(nlname, 1)));
+ m_setup.truthtable_create(desc, "+" + def_param, plib::source_location(nlname, 1));
return;
}
}
@@ -378,7 +378,7 @@ void parser_t::netdev_hint()
pstring id(get_identifier());
require_token(m_tok_comma);
pstring hint(get_identifier());
- m_setup.register_hint(id + ".HINT_" + hint);
+ m_setup.register_hint(id, ".HINT_" + hint);
require_token(m_tok_paren_right);
}