From d00a839620da2fc67abdf805b3a5edd99fa0598f Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Sat, 29 Mar 2014 23:04:05 +0100 Subject: [PATCH] Fix incorrect debug info for "apply" rules. Refs #5870 --- lib/config/config_parser.yy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/config/config_parser.yy b/lib/config/config_parser.yy index cb794c266..7a6e1375e 100644 --- a/lib/config/config_parser.yy +++ b/lib/config/config_parser.yy @@ -743,7 +743,7 @@ apply: // assign && !ignore AExpression::Ptr rex = make_shared(&AExpression::OpLogicalNegate, m_Ignore, DebugInfoRange(@2, @5)); AExpression::Ptr filter = make_shared(&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();