From b34fd64a9c1494ebe919a26ce5eefd674dda5834 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 5 Oct 2014 11:45:08 -0400 Subject: [PATCH] Parser - Updated comments. --- src/Parser.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Parser.cpp b/src/Parser.cpp index ef1bd829c..3740b3d3b 100644 --- a/src/Parser.cpp +++ b/src/Parser.cpp @@ -101,6 +101,9 @@ void Parser::initialize (int argc, const char** argv) continue; // TODO This seems silly - it's essentially performing a low-quality parse. + // But that is really all that is needed - to separate the args that + // need to be lexed from those that need to be left alone. + // Rule: if it looks like 'attribute:...' then lex, else ignore. // Do not lex RC overrides. if (raw.length () > 3 && @@ -122,6 +125,7 @@ void Parser::initialize (int argc, const char** argv) continue; // If the argument contains a space, it was quoted. Record that fact. + // TODO This is currently ignored. Should it be? if (! noSpaces (raw)) branch->tag ("QUOTED");