Browse Source

[2369] Add TODOs to remove saveLine() and compact() later

Mukund Sivaraman 12 years ago
parent
commit
31745f2d59
1 changed files with 8 additions and 0 deletions
  1. 8 0
      src/lib/dns/master_lexer_inputsource.h

+ 8 - 0
src/lib/dns/master_lexer_inputsource.h

@@ -95,11 +95,19 @@ public:
 
     /// \brief Saves the current line being read. Later, when
     /// \c ungetAll() is called, it skips back to the last-saved line.
+    ///
+    /// TODO: Please make this method private if it is unused after the
+    /// MasterLexer implementation is complete (and only \c mark() is
+    /// used instead).
     void saveLine();
 
     /// Removes buffered content before the current location in the
     /// \c InputSource. It's not possible to \c ungetChar() after this,
     /// unless we read more data using \c getChar().
+    ///
+    /// TODO: Please make this method private if it is unused after the
+    /// MasterLexer implementation is complete (and only \c mark() is
+    /// used instead).
     void compact();
 
     /// Calls \c saveLine() and \c compact() in sequence.