drc: add support for via_count constraint to the parser
This commit is contained in:
parent
7b7c3bde88
commit
f38147c201
|
@ -32,4 +32,6 @@ courtyard_clearance
|
||||||
silk_to_pad
|
silk_to_pad
|
||||||
silk_to_silk
|
silk_to_silk
|
||||||
skew
|
skew
|
||||||
diff_pair
|
diff_pair_gap
|
||||||
|
diff_pair_uncoupled
|
||||||
|
via_count
|
|
@ -284,6 +284,7 @@ void DRC_RULES_PARSER::parseConstraint( DRC_RULE* aRule )
|
||||||
case T_disallow: constraint.m_Type = DRC_CONSTRAINT_TYPE_DISALLOW; break;
|
case T_disallow: constraint.m_Type = DRC_CONSTRAINT_TYPE_DISALLOW; break;
|
||||||
case T_length: constraint.m_Type = DRC_CONSTRAINT_TYPE_LENGTH; break;
|
case T_length: constraint.m_Type = DRC_CONSTRAINT_TYPE_LENGTH; break;
|
||||||
case T_skew: constraint.m_Type = DRC_CONSTRAINT_TYPE_SKEW; break;
|
case T_skew: constraint.m_Type = DRC_CONSTRAINT_TYPE_SKEW; break;
|
||||||
|
case T_via_count: constraint.m_Type = DRC_CONSTRAINT_TYPE_VIA_COUNT; break;
|
||||||
default:
|
default:
|
||||||
// fixme: message
|
// fixme: message
|
||||||
msg.Printf( _( "Unrecognized item '%s'.| Expected %s." ),
|
msg.Printf( _( "Unrecognized item '%s'.| Expected %s." ),
|
||||||
|
|
Loading…
Reference in New Issue