From ab6150c298105ff9e7980b93fe64af68a89847f0 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 19 Apr 2014 08:43:52 -0400 Subject: [PATCH] A3t - Removed diagnostics. --- src/A3t.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/A3t.cpp b/src/A3t.cpp index f940ad1b9..06e8e330b 100644 --- a/src/A3t.cpp +++ b/src/A3t.cpp @@ -442,18 +442,18 @@ void A3t::inject_defaults () // If no command was specified, then a command will be inserted. if (! found_command) { - std::cout << "# ! found_command\n"; + //std::cout << "# ! found_command\n"; // Default command. if (! found_sequence) { - std::cout << "# ! found_sequence\n"; + //std::cout << "# ! found_sequence\n"; // Apply overrides, if any. std::string defaultCommand = context.config.get ("default.command"); if (defaultCommand != "") { - std::cout << "# defaultCommand\n"; + //std::cout << "# defaultCommand\n"; context.debug ("No command or sequence found - assuming default.command."); capture_first (defaultCommand); @@ -471,13 +471,13 @@ void A3t::inject_defaults () } else { - std::cout << "# ! defaultCommand\n"; + //std::cout << "# ! defaultCommand\n"; throw std::string (STRING_TRIVIAL_INPUT); } } else { - std::cout << "# found_sequence\n"; + //std::cout << "# found_sequence\n"; /* // Modify command. if (found_other) @@ -491,7 +491,7 @@ void A3t::inject_defaults () else { */ - std::cout << "# ! found_other\n"; + //std::cout << "# ! found_other\n"; context.debug ("Sequence but no command found - assuming 'information' command."); context.header (STRING_ASSUME_INFO); capture_first ("information"); @@ -505,7 +505,7 @@ void A3t::inject_defaults () //////////////////////////////////////////////////////////////////////////////// void A3t::capture_first (const std::string& arg) { - std::cout << "# capture_first (" << arg << ")\n"; + //std::cout << "# capture_first (" << arg << ")\n"; // Insert the arg as the new first branch. Tree* t = new Tree ("argIns");