aboutsummaryrefslogtreecommitdiffstats
path: root/Scanner.h
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2014-11-21 06:56:24 +0800
committerLefteris Karapetsas <lefteris@refu.co>2014-11-21 06:56:24 +0800
commitcda2532de6886a1b6735387b807490b5ff4556ae (patch)
tree18c1a3211f38409b35e27d4783a6efc7db92a8e5 /Scanner.h
parenta93916b5f9df5a71c890150ad705147d040264df (diff)
downloaddexon-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.h6
1 files changed, 2 insertions, 4 deletions
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