From 08b5a3c87ac9ae8a433cecfd9ba6dccb116bd60f Mon Sep 17 00:00:00 2001 From: Stefan Frederik Date: Wed, 22 Sep 2021 09:49:59 +0200 Subject: [PATCH] fix tcleval(...) evaluation in spice netlist. it was disabled --- src/token.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/token.c b/src/token.c index b16f797f..91704836 100644 --- a/src/token.c +++ b/src/token.c @@ -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")) {