Fix incorrect debug info for "apply" rules.

Refs 
This commit is contained in:
Gunnar Beutner 2014-03-29 23:04:05 +01:00
parent 9897358fc6
commit d00a839620
1 changed files with 1 additions and 1 deletions

View File

@ -743,7 +743,7 @@ apply:
// assign && !ignore
AExpression::Ptr rex = make_shared<AExpression>(&AExpression::OpLogicalNegate, m_Ignore, DebugInfoRange(@2, @5));
AExpression::Ptr filter = make_shared<AExpression>(&AExpression::OpLogicalAnd, m_Assign, rex, DebugInfoRange(@2, @5));
ApplyRule::AddRule(type, name, exprl, filter, DebugInfoRange(@1, @5), m_ModuleScope);
ApplyRule::AddRule(type, name, exprl, filter, DebugInfoRange(@2, @5), m_ModuleScope);
m_Assign.reset();
m_Ignore.reset();