Index: trunk/src/rats_patch.c =================================================================== --- trunk/src/rats_patch.c (revision 38208) +++ trunk/src/rats_patch.c (revision 38209) @@ -431,7 +431,7 @@ cb(ctx, PCB_RPE_CONN_DEL, n->arg1.net_name, NULL, n->id); break; case RATP_CHANGE_ATTRIB: - cb(ctx, PCB_RPE_ATTR_CHG, n->id, n->arg1.attrib_name, n->arg2.attrib_val); + cb(ctx, PCB_RPE_COMP_ATTR_CHG, n->id, n->arg1.attrib_name, n->arg2.attrib_val); break; } } @@ -452,7 +452,7 @@ case PCB_RPE_INFO_END: fprintf(ctx->f, "%s\n", ctx->pc); break; case PCB_RPE_CONN_ADD: fprintf(ctx->f, "%sadd_conn%s%s%s%s %s%s%s%s\n", ctx->line_prefix, ctx->po, ctx->q, val, ctx->q, ctx->q, netn, ctx->q, ctx->pc); break; case PCB_RPE_CONN_DEL: fprintf(ctx->f, "%sdel_conn%s%s%s%s %s%s%s%s\n", ctx->line_prefix, ctx->po, ctx->q, val, ctx->q, ctx->q, netn, ctx->q, ctx->pc); break; - case PCB_RPE_ATTR_CHG: + case PCB_RPE_COMP_ATTR_CHG: fprintf(ctx->f, "%schange_attrib%s%s%s%s %s%s%s %s%s%s%s\n", ctx->line_prefix, ctx->po, ctx->q, netn, ctx->q, @@ -579,7 +579,7 @@ fputs_tdx_term(ctx->f, val, &len); fprintf(ctx->f, "\n"); break; - case PCB_RPE_ATTR_CHG: + case PCB_RPE_COMP_ATTR_CHG: if (!ctx->in_block) fexport_tedax_start_block(ctx, NULL); if ((strcmp(ctx->netn, "footprint") == 0) || (strcmp(ctx->netn, "value") == 0)) len = fprintf(ctx->f, " fattr_comp "); Index: trunk/src/rats_patch.h =================================================================== --- trunk/src/rats_patch.h (revision 38208) +++ trunk/src/rats_patch.h (revision 38209) @@ -103,7 +103,7 @@ PCB_RPE_CONN_ADD, /* netn; val is the terminal pin/pad name */ PCB_RPE_CONN_DEL, /* netn; val is the terminal pin/pad name */ - PCB_RPE_ATTR_CHG /* netn; key is the attribute name, val is the new attribute value */ + PCB_RPE_COMP_ATTR_CHG /* netn is component name; key is the attribute name, val is the new attribute value */ } pcb_rats_patch_export_ev_t; /* Call cb() for each item to output; PCB_PTRE_INFO* is calculated/called only Index: trunk/src_plugins/io_lihata/write.c =================================================================== --- trunk/src_plugins/io_lihata/write.c (revision 38208) +++ trunk/src_plugins/io_lihata/write.c (revision 38209) @@ -1643,7 +1643,8 @@ lht_dom_list_append(ctx->patch, n); break; - case PCB_RPE_ATTR_CHG: + case PCB_RPE_COMP_ATTR_CHG: +TODO("from v9 rename this:"); n = lht_dom_node_alloc(LHT_HASH, "change_attrib"); lht_dom_hash_put(n, build_text("net", netn)); lht_dom_hash_put(n, build_text("key", key));