summaryrefslogtreecommitdiffstats
path: root/src/lib/netlist/plib/poptions.cpp
diff options
context:
space:
mode:
author couriersud <couriersud@gmx.org>2017-01-31 22:37:12 +0100
committer couriersud <couriersud@gmx.org>2017-01-31 22:37:25 +0100
commite02d8cad2bc67ada9b7429c6dc8401a439c0c025 (patch)
treedebc396921388c052757f5da5c020c1f122c8c7d /src/lib/netlist/plib/poptions.cpp
parent282a7e76c3a2ca3de90351f6527a5aaa8ffdbd4a (diff)
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]
Diffstat (limited to 'src/lib/netlist/plib/poptions.cpp')
-rw-r--r--src/lib/netlist/plib/poptions.cpp7
1 files changed, 7 insertions, 0 deletions
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;