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