Bug fix for %i(node1) in an A instance.
Don't do i() replacement in an A instance as shown above.
This commit is contained in:
parent
e0d5d98b33
commit
9abb61d6ac
|
|
@ -7455,9 +7455,13 @@ static void inp_meas_current(struct card *deck)
|
||||||
/* we have found it, but not (in error) at the beginning of the
|
/* we have found it, but not (in error) at the beginning of the
|
||||||
* line */
|
* line */
|
||||||
if (s && s > v) {
|
if (s && s > v) {
|
||||||
/* '{' if at beginning of expression, '=' possible in B-line
|
/* %i( may be part of the node definition in a XSPICE instance, so skip it here */
|
||||||
*/
|
if (*curr_line == 'a' && s[-1] == '%') {
|
||||||
if (is_arith_char(s[-1]) || s[-1] == '{' || s[-1] == '=' ||
|
s++;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
/* '{' if at beginning of expression, '=' possible in B-line */
|
||||||
|
else if (is_arith_char(s[-1]) || s[-1] == '{' || s[-1] == '=' ||
|
||||||
isspace_c(s[-1])) {
|
isspace_c(s[-1])) {
|
||||||
s += 2;
|
s += 2;
|
||||||
if (*s == 'v') {
|
if (*s == 'v') {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue