diff --git a/common/drc_rules.keywords b/common/drc_rules.keywords index ddb8f223d3..5565c4bed3 100644 --- a/common/drc_rules.keywords +++ b/common/drc_rules.keywords @@ -32,4 +32,6 @@ courtyard_clearance silk_to_pad silk_to_silk skew -diff_pair \ No newline at end of file +diff_pair_gap +diff_pair_uncoupled +via_count \ No newline at end of file diff --git a/pcbnew/drc/drc_rule_parser.cpp b/pcbnew/drc/drc_rule_parser.cpp index f7835a43a9..f5bc307b67 100644 --- a/pcbnew/drc/drc_rule_parser.cpp +++ b/pcbnew/drc/drc_rule_parser.cpp @@ -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_length: constraint.m_Type = DRC_CONSTRAINT_TYPE_LENGTH; 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: // fixme: message msg.Printf( _( "Unrecognized item '%s'.| Expected %s." ),