- Preserve ORIGINAL tag after ::unTagAll.
This commit is contained in:
Paul Beckingham 2014-10-24 16:33:35 -04:00
parent ce2679c3fa
commit 5add257d8b

View file

@ -500,6 +500,7 @@ void CLI::categorize ()
if (raw == "--") if (raw == "--")
{ {
a->unTagAll (); a->unTagAll ();
a->tag ("ORIGINAL");
a->tag ("TERMINATOR"); a->tag ("TERMINATOR");
terminated = true; terminated = true;
} }
@ -507,6 +508,7 @@ void CLI::categorize ()
else if (terminated) else if (terminated)
{ {
a->unTagAll (); a->unTagAll ();
a->tag ("ORIGINAL");
a->tag ("TERMINATED"); a->tag ("TERMINATED");
a->tag ("WORD"); a->tag ("WORD");