drc_proto: follow up Jeff's changes to libeval_compiler
This commit is contained in:
parent
b0874c7b4e
commit
faf469bd23
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue