diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2014-11-21 06:56:24 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2014-11-21 06:56:24 +0800 |
commit | cda2532de6886a1b6735387b807490b5ff4556ae (patch) | |
tree | 18c1a3211f38409b35e27d4783a6efc7db92a8e5 /Scanner.h | |
parent | a93916b5f9df5a71c890150ad705147d040264df (diff) | |
download | dexon-solidity-cda2532de6886a1b6735387b807490b5ff4556ae.tar.gz dexon-solidity-cda2532de6886a1b6735387b807490b5ff4556ae.tar.zst dexon-solidity-cda2532de6886a1b6735387b807490b5ff4556ae.zip |
cleaning up the external interface of Scanner::next(). No special cases
Diffstat (limited to 'Scanner.h')
-rw-r--r-- | Scanner.h | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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 |