fix tcleval(...) evaluation in spice netlist. it was disabled

This commit is contained in:
Stefan Frederik 2021-09-22 09:49:59 +02:00
parent 83c3814aa1
commit 08b5a3c87a
1 changed files with 1 additions and 1 deletions

View File

@ -1638,7 +1638,7 @@ void print_spice_element(FILE *fd, int inst)
int tok_val_len;
dbg(1, "print_spice_element(): token: |%s|\n", token);
value = get_tok_value(xctx->inst[inst].prop_ptr, token+1, 2);
value = get_tok_value(xctx->inst[inst].prop_ptr, token+1, 0);
tok_val_len = strlen(value);
if(!strcmp(token, "@spiceprefix")) {