expandlabel(): if a node name begins with `$` assume it will be processed downstream by some scripts. Don`t expand anything
This commit is contained in:
parent
a53ddf22d8
commit
e25ded5e74
|
|
@ -102,7 +102,7 @@ const char *expandlabel(const char *s, int *m)
|
|||
return NULL;
|
||||
}
|
||||
if(parselabel_debug >= 3) fprintf(errfp, "expandlabel(): entering\n");
|
||||
if(!strpbrk(s, "*,.:")) { /* shortcut: nothing to parse / expand */
|
||||
if(!strpbrk(s, "*,.:") || s[0] == '$') { /* shortcut: nothing to parse / expand */
|
||||
*m = 1;
|
||||
my_strdup2(_ALLOC_ID_, &dest_string.str, s);
|
||||
if(xctx->netlist_type == CAD_SPICE_NETLIST && bus_char[0] && bus_char[1]) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue