Commit e32617d5 authored by Mukund Sivaraman's avatar Mukund Sivaraman
Browse files

[2369] Explain how compact() affects ungetAll()

parent eb92bed5
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment