Code Cleanup

- Eliminated valid.cpp by relocating functions to more sensible locations.
This commit is contained in:
Paul Beckingham 2009-06-27 20:49:28 -04:00
parent 52052f91f9
commit 1f3092469e
6 changed files with 75 additions and 134 deletions

View file

@ -437,7 +437,7 @@ void Context::parse (
// Tags to include begin with '+'.
else if (arg->length () > 1 &&
(*arg)[0] == '+' &&
validTag (*arg))
noSpaces (*arg))
{
debug ("parse tag addition '" + *arg + "'");
if (foundSequence)
@ -454,7 +454,7 @@ void Context::parse (
// Tags to remove begin with '-'.
else if (arg->length () > 1 &&
(*arg)[0] == '-' &&
validTag (*arg))
noSpaces (*arg))
{
debug ("parse tag removal '" + *arg + "'");
if (foundSequence)