Sim: Remove the parsing exception for LTspice compat
Silently ignoring this may be a cure worse than disease.
This commit is contained in:
parent
42acabb5a9
commit
1965411bf5
|
@ -114,14 +114,7 @@ namespace SPICE_GRAMMAR
|
|||
struct paramValuePair : seq<param,
|
||||
sep,
|
||||
paramValue> {};
|
||||
struct paramValuePairs : list<sor<paramValuePair,
|
||||
// In some LTspice models there are spurious values without
|
||||
// specified parameter name. Ngspice ignores these, and we
|
||||
// follow suit.
|
||||
// TODO: Possibly create an LTspice compatibility mode, so
|
||||
// that we don't have to silently ignore values blanketly.
|
||||
token>,
|
||||
sep> {};
|
||||
struct paramValuePairs : list<paramValuePair, sep> {};
|
||||
struct dotModelAko : seq<opt<sep>,
|
||||
if_must<seq<TAO_PEGTL_ISTRING( ".model" ),
|
||||
sep,
|
||||
|
|
Loading…
Reference in New Issue