diff options
author | 2020-09-17 19:45:10 +0200 | |
---|---|---|
committer | 2020-09-17 19:45:10 +0200 | |
commit | e62e2d759b1a952390e0fe7a7ed36e33d2676ba5 (patch) | |
tree | a06e78b0827582fe2872b2fb633bee8fcac5202f /src/lib/netlist/nl_setup.cpp | |
parent | c1278110833de6e4a1cf166ecddd9d4628f91856 (diff) |
netlist: optimize headers.
* where possible rely on forward declarations to optimiuze compile time.
Diffstat (limited to 'src/lib/netlist/nl_setup.cpp')
-rw-r--r-- | src/lib/netlist/nl_setup.cpp | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/src/lib/netlist/nl_setup.cpp b/src/lib/netlist/nl_setup.cpp index fcea082a036..9af1ec92d51 100644 --- a/src/lib/netlist/nl_setup.cpp +++ b/src/lib/netlist/nl_setup.cpp @@ -352,7 +352,7 @@ namespace netlist return false; } - bool nlparse_t::parse_tokens(const parser_t::token_store &tokens, const pstring &name) + bool nlparse_t::parse_tokens(const plib::detail::token_store &tokens, const pstring &name) { parser_t parser(*this); return parser.parse(tokens, name); @@ -1762,22 +1762,5 @@ plib::istream_uptr source_proc_t::stream(const pstring &name) return plib::istream_uptr(); } -bool source_token_t::parse(nlparse_t &setup, const pstring &name) -{ - if (name == m_name) - { - auto ret = setup.parse_tokens(m_store, name); - return ret; - } - - return false; -} - -plib::istream_uptr source_token_t::stream(const pstring &name) -{ - plib::unused_var(name); - return plib::istream_uptr(); -} - } // namespace netlist |