From 18662b03070836d3b411c8501296676ac079af6d Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 14 Jun 2014 15:22:23 -0400 Subject: [PATCH] Parser - ::findSubstitution removes unnecessarily lexed sub-branches. --- src/Parser.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Parser.cpp b/src/Parser.cpp index d3738eb37..8538b98b5 100644 --- a/src/Parser.cpp +++ b/src/Parser.cpp @@ -753,6 +753,7 @@ void Parser::findSubstitution () !Directory (raw).exists ()) { (*i)->unTag ("?"); + (*i)->removeAllBranches (); (*i)->tag ("SUBSTITUTION"); (*i)->attribute ("from", from); (*i)->attribute ("to", to);