summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/netlist/nl_parser.h
diff options
context:
space:
mode:
author couriersud <couriersud@gmx.org>2020-01-27 21:47:41 +0100
committer couriersud <couriersud@gmx.org>2020-01-27 21:47:41 +0100
commitf7d8a10da53e07747ab4f11d5c7b4827869e5763 (patch)
tree1ae8c2b3a06a6abd253814bd159cb151dd6cc20a /src/lib/netlist/nl_parser.h
parent8c2bb6236774977e848c62fad35eb665a6d8e58b (diff)
netlist: Code maintenance. (nw)
- Fixed some clang lint warnings - Removed dead code - Experimental parser code to allow calculations in parameter value. This already works for compiled netlists. These changes are currently disabled. Updated pong netlist (and CRC/SHA) to work with this new code.
Diffstat (limited to 'src/lib/netlist/nl_parser.h')
-rw-r--r--src/lib/netlist/nl_parser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/netlist/nl_parser.h b/src/lib/netlist/nl_parser.h
index e747f2dac28..46ce30b0370 100644
--- a/src/lib/netlist/nl_parser.h
+++ b/src/lib/netlist/nl_parser.h
@@ -44,7 +44,7 @@ namespace netlist
void verror(const pstring &msg) override;
private:
- nl_fptype eval_param(const token_t &tok);
+ nl_fptype eval_param(token_t &tok);
token_id_t m_tok_paren_left;
token_id_t m_tok_paren_right;