From cda2532de6886a1b6735387b807490b5ff4556ae Mon Sep 17 00:00:00 2001 From: Lefteris Karapetsas Date: Thu, 20 Nov 2014 23:56:24 +0100 Subject: cleaning up the external interface of Scanner::next(). No special cases --- Scanner.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'Scanner.h') diff --git a/Scanner.h b/Scanner.h index 94c67840..5dfe7a33 100644 --- a/Scanner.h +++ b/Scanner.h @@ -116,10 +116,8 @@ public: /// Resets the scanner as if newly constructed with _input as input. void reset(CharStream const& _source); - /// Returns the next token and advances input. If called from reset() - /// and ScanToken() found a documentation token then next should be called - /// with _changeSkippedComment=true - Token::Value next(bool _changeSkippedComment = false); + /// Returns the next token and advances input + Token::Value next(); ///@{ ///@name Information about the current token -- cgit