From e02d8cad2bc67ada9b7429c6dc8401a439c0c025 Mon Sep 17 00:00:00 2001 From: couriersud Date: Tue, 31 Jan 2017 22:37:12 +0100 Subject: Fixed a number of issues: - Fixed crashes on terminals without nets (i.e. connected to a rail) - Reviewed "FIXMEs" and corrected some minor ones. - Made m_cur_analog protected. - Fixed pmf delegates to work with msvc. - More optimizations to the solver code. - Started work on a better signal pipeline in nlwav - Only generate documentation for entities which are documented. [Couriersud] --- src/lib/netlist/plib/poptions.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/lib/netlist/plib/poptions.cpp') diff --git a/src/lib/netlist/plib/poptions.cpp b/src/lib/netlist/plib/poptions.cpp index 7616c5993d0..775ee6d8810 100644 --- a/src/lib/netlist/plib/poptions.cpp +++ b/src/lib/netlist/plib/poptions.cpp @@ -69,6 +69,13 @@ namespace plib { return (err ? 1 : 0); } + int option_long::parse(const pstring &argument) + { + bool err = false; + m_val = argument.as_long(&err); + return (err ? 1 : 0); + } + int option_vec::parse(const pstring &argument) { bool err = false; -- cgit v1.2.3-70-g09d2