]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2369] Explain how compact() affects ungetAll()
authorMukund Sivaraman <muks@isc.org>
Thu, 1 Nov 2012 05:10:00 +0000 (10:40 +0530)
committerMukund Sivaraman <muks@isc.org>
Thu, 1 Nov 2012 05:10:00 +0000 (10:40 +0530)
src/lib/dns/master_lexer_inputsource.h

index aec53950c6694f0fc15d6c41fd158cc81f2f84c2..9c8533eb461f8eabbe439953d7bd0a89e50e10ab 100644 (file)
@@ -105,9 +105,11 @@ public:
     /// called.
     void ungetChar();
 
-    /// Forgets everything read so far, and skips back to the position
-    /// where reading started. If \c saveLine() was called previously,
-    /// it sets the current line number to the line number saved then.
+    /// Forgets what was read, and skips back to the position where
+    /// \c compact() was last called. If \c compact() was not called, it
+    /// skips back to where reading started. If \c saveLine() was called
+    /// previously, it sets the current line number to the line number
+    /// saved.
     void ungetAll();
 
     /// Removes buffered content before the current location in the