From adf7d3260da3e61814471354b2df85fefc8d1c50 Mon Sep 17 00:00:00 2001 From: Tomasz Wlostowski Date: Sat, 26 Sep 2020 22:42:33 +0200 Subject: [PATCH] drc: parse diff pair constranits --- pcbnew/drc/drc_rule_parser.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pcbnew/drc/drc_rule_parser.cpp b/pcbnew/drc/drc_rule_parser.cpp index f5bc307b67..ca669d23c8 100644 --- a/pcbnew/drc/drc_rule_parser.cpp +++ b/pcbnew/drc/drc_rule_parser.cpp @@ -285,6 +285,8 @@ void DRC_RULES_PARSER::parseConstraint( DRC_RULE* aRule ) 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; + case T_diff_pair_gap: constraint.m_Type = DRC_CONSTRAINT_TYPE_DIFF_PAIR_GAP; break; + case T_diff_pair_uncoupled: constraint.m_Type = DRC_CONSTRAINT_TYPE_DIFF_PAIR_MAX_UNCOUPLED; break; default: // fixme: message msg.Printf( _( "Unrecognized item '%s'.| Expected %s." ),