drc_proto: follow up Jeff's changes to libeval_compiler
This commit is contained in:
parent
b0874c7b4e
commit
faf469bd23
|
@ -72,7 +72,9 @@ bool test::DRC_RULE_CONDITION::Compile()
|
|||
if (!m_ucode)
|
||||
m_ucode = new PCB_EXPR_UCODE;
|
||||
|
||||
bool ok = compiler.Compile( m_Expression.ToUTF8().data(), m_ucode );
|
||||
LIBEVAL::CONTEXT preflightContext;
|
||||
|
||||
bool ok = compiler.Compile( m_Expression.ToUTF8().data(), m_ucode, &preflightContext );
|
||||
|
||||
if( ok )
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue