From 4759d58ad5875ecd7da22cf2ca86287528c3953e Mon Sep 17 00:00:00 2001 From: stefan schippers Date: Sun, 19 Jan 2025 02:31:58 +0100 Subject: [PATCH] add a prepare_netlist_structs() in get_pin_attr() to update net names for @#pin tokens --- src/token.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/token.c b/src/token.c index 8255bb67..19968d29 100644 --- a/src/token.c +++ b/src/token.c @@ -3633,6 +3633,7 @@ static char *get_pin_attr(const char *token, int inst, int engineering) const char *str_ptr=NULL; int multip; size_t tmp; + prepare_netlist_structs(0); str_ptr = net_name(inst,n, &multip, 0, 1); tmp = strlen(str_ptr) +100 ; /* always make room for some extra chars * so 1-char writes to result do not need reallocs */