drc_proto: follow up Jeff's changes to libeval_compiler

This commit is contained in:
Tomasz Wlostowski 2020-07-29 23:13:45 +02:00
parent b0874c7b4e
commit faf469bd23
1 changed files with 3 additions and 1 deletions

View File

@ -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;