From 0e0c4fa5781b9600169cada93335df079db37ddc Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 11 Oct 2014 11:24:56 -0400 Subject: [PATCH] Parser - Code cleanup. --- src/Parser.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Parser.cpp b/src/Parser.cpp index 51433aed4..b5abac08e 100644 --- a/src/Parser.cpp +++ b/src/Parser.cpp @@ -1624,10 +1624,10 @@ void Parser::findStrayModifications () //////////////////////////////////////////////////////////////////////////////// // This is called after parsing. The intention is to find plain arguments that // are not otherwise recognized, and potentially promote them to patterns. +// +// Note: This functionality is deprecated in 2.4.0. void Parser::findPlainArgs () { - bool action = false; - std::vector nodes; collect (nodes, collectTerminated); std::vector ::iterator i; @@ -1664,7 +1664,6 @@ void Parser::findPlainArgs () branch->attribute ("raw", raw); branch->tag ("STRING"); branch->tag ("FILTER"); - action = true; } } }