-
Notifications
You must be signed in to change notification settings - Fork 199
Open
Description
Spice/Parser.py:Element.init, ln 460
number_of_positionals = prefix_data.number_of_positionals_min
if number_of_positionals and stop_location is not None: # model is optional
self._parameters, stop_location = self._line.read_words(stop_location, number_of_positionals)
if prefix_data.multi_devices and stop_location is not None:
remaining, stop_location = self._line.split_words(stop_location, until='=')
self._parameters.extend(remaining)Line 462 replaces the detected model positional parameter after the nodes of element 'X'.
After that, no additional positional parameters are read, and a declaration like:
XMM12<0>__4 MM12<0>__4:d MM12<0>__4:g MM12<0>__4:s MM14:b nch_18_mac L=xxx
+ W=xxx AD=xxxx AS=xxxx PD=xxxx PS=xxxx ...
+ ...
+ ...
+ spomt1=xxxx spmb=xxxx spomb=x spomb1=xxxx _ccoflag=0
+ _rcoflag=x _rgflag=x
ends up failing to be parsed.
Metadata
Metadata
Assignees
Labels
No labels