Bug #440 - Parser fails to simultaneously subst and append

- The code wasn't even trying to apply the substitutions for the
  append and prepend commands.
This commit is contained in:
Paul Beckingham 2010-08-08 18:06:40 -04:00
parent 36c3cad5a5
commit 2334911b34
2 changed files with 3 additions and 0 deletions

View file

@ -39,6 +39,7 @@
+ Fixed bug #438, correcting the sorting of the entry_time, start_time
and end_time columns (thanks to Michelle Crane).
+ Fixed bug #439, which ignored dateformat.annotation for sparse annotations.
+ Fixed bug #440, which prevented simultaneous append/prepend and substitution.
+ Fixed bug #441, which misparsed '/a/a:/' as an attribute, rather than a
substitution (thanks to Michelle Crane).
+ Fixed bug #444, which made task shell unusable after canceling out of an

View file

@ -1610,6 +1610,7 @@ int handleAppend (std::string &outs)
changes += deltaAppend (*other);
changes += deltaTags (*other);
changes += deltaAttributes (*other);
changes += deltaSubstitutions (*other);
if (taskDiff (before, *other))
{
@ -1686,6 +1687,7 @@ int handlePrepend (std::string &outs)
changes += deltaPrepend (*other);
changes += deltaTags (*other);
changes += deltaAttributes (*other);
changes += deltaSubstitutions (*other);
if (taskDiff (before, *other))
{