drc_proto: don't stitch together multiple rules's microcode

This commit is contained in:
Tomasz Wlostowski 2020-09-05 01:11:44 +02:00
parent 9176062d0f
commit b53d753796
1 changed files with 1 additions and 2 deletions

View File

@ -90,8 +90,7 @@ bool test::DRC_RULE_CONDITION::Compile( REPORTER* aReporter, int aSourceLine, in
{ {
PCB_EXPR_COMPILER compiler; PCB_EXPR_COMPILER compiler;
if (!m_ucode) m_ucode.reset( new PCB_EXPR_UCODE );
m_ucode.reset( new PCB_EXPR_UCODE );
PCB_EXPR_CONTEXT preflightContext( F_Cu ); PCB_EXPR_CONTEXT preflightContext( F_Cu );