Corrected a subtle error in "def read" in which if a net declares a
non-default rule, but then does not contain any routed nets, the non-default rule gets accidentally applied to the next routed net, ignoring the end-of-statement in between.
This commit is contained in:
parent
a22b7508ac
commit
86fbd2b50f
|
|
@ -1115,6 +1115,9 @@ DefReadNets(
|
||||||
if (dolabels) netname = StrDup((char **)NULL, token);
|
if (dolabels) netname = StrDup((char **)NULL, token);
|
||||||
needanno = annotate;
|
needanno = annotate;
|
||||||
|
|
||||||
|
/* Any nondefault rule resets at the start of a new net. */
|
||||||
|
ruleset = (LefRules *)NULL;
|
||||||
|
|
||||||
/* Update the record of the number of nets processed */
|
/* Update the record of the number of nets processed */
|
||||||
/* and spit out a message for every 5% finished. */
|
/* and spit out a message for every 5% finished. */
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue