From faf469bd23c99c0150e8253ee20d5918dc6e7f79 Mon Sep 17 00:00:00 2001 From: Tomasz Wlostowski Date: Wed, 29 Jul 2020 23:13:45 +0200 Subject: [PATCH] drc_proto: follow up Jeff's changes to libeval_compiler --- qa/drc_proto/drc_rule.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/qa/drc_proto/drc_rule.cpp b/qa/drc_proto/drc_rule.cpp index 7981c918c2..307f9e3ab0 100644 --- a/qa/drc_proto/drc_rule.cpp +++ b/qa/drc_proto/drc_rule.cpp @@ -71,8 +71,10 @@ bool test::DRC_RULE_CONDITION::Compile() if (!m_ucode) m_ucode = new PCB_EXPR_UCODE; + + LIBEVAL::CONTEXT preflightContext; - bool ok = compiler.Compile( m_Expression.ToUTF8().data(), m_ucode ); + bool ok = compiler.Compile( m_Expression.ToUTF8().data(), m_ucode, &preflightContext ); if( ok ) return true;