From e5ceb15365091179f7410889c6b76749e83b016b Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Mon, 14 Apr 2014 00:57:39 -0400 Subject: [PATCH] Code Cleanup - Removed odd comment and unused member. - Removed commented-out code. --- src/A3t.cpp | 4 ---- src/Context.h | 4 ---- src/args.cpp | 2 +- 3 files changed, 1 insertion(+), 9 deletions(-) diff --git a/src/A3t.cpp b/src/A3t.cpp index d9b2985e7..8d4c128ba 100644 --- a/src/A3t.cpp +++ b/src/A3t.cpp @@ -121,10 +121,6 @@ Tree* A3t::parse () findBinary (); findTerminator (); findCommand (); -/* - findFileOverride (); - findConfigOverride (); -*/ findSubstitution (); findPattern (); findTag (); diff --git a/src/Context.h b/src/Context.h index 2768d1323..b6a52c339 100644 --- a/src/Context.h +++ b/src/Context.h @@ -95,7 +95,6 @@ public: Hooks hooks; DOM dom; - // Color bool determine_color_use; bool use_color; @@ -105,9 +104,6 @@ public: std::vector footnotes; std::vector errors; std::vector debugMessages; -/* - bool inShadow; -*/ std::map commands; std::map columns; diff --git a/src/args.cpp b/src/args.cpp index 3a4149462..85bd43a76 100644 --- a/src/args.cpp +++ b/src/args.cpp @@ -46,7 +46,7 @@ int main (int argc, const char** argv) a3t.entity ("report", "next"); // Read-only commands. - a3t.entity ("writecmd", "export"); + a3t.entity ("readcmd", "export"); a3t.entity ("readcmd", "info"); a3t.entity ("readcmd", "list"); a3t.entity ("readcmd", "next");