more verbose ERC message about missing attrs on pins while netlisting

This commit is contained in:
Stefan Frederik 2020-11-30 17:33:15 +01:00
parent b910d74d56
commit b726eb27a6
1 changed files with 2 additions and 2 deletions

View File

@ -271,8 +271,8 @@ void hash_inst_pin(int what, int i, int j)
if(j<rects && (!prop_ptr || !get_tok_value(prop_ptr, "name",0)[0] || !get_tok_value(prop_ptr, "dir",0)[0]) ) {
char str[2048];
my_snprintf(str, S(str), "symbol %s: missing all or name or dir attributes on pin %d",
xctx->inst[i].name, j);
my_snprintf(str, S(str), "symbol %s: missing all or name or dir attributes on pin %d\n %s",
xctx->inst[i].name, j, prop_ptr);
statusmsg(str,2);
if(!netlist_count) {
xctx->inst[i].flags |=4;