diff options
Diffstat (limited to 'libsolidity/parsing/Scanner.h')
-rw-r--r-- | libsolidity/parsing/Scanner.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libsolidity/parsing/Scanner.h b/libsolidity/parsing/Scanner.h index fa1f118b..8dde922d 100644 --- a/libsolidity/parsing/Scanner.h +++ b/libsolidity/parsing/Scanner.h @@ -122,7 +122,7 @@ public: SourceLocation currentLocation() const { return m_currentToken.location; } std::string const& currentLiteral() const { return m_currentToken.literal; } - std::string const& currentTokenInfo() const { return m_currentToken.extendedTokenInfo; } + std::tuple<unsigned, unsigned> const& currentTokenInfo() const { return m_currentToken.extendedTokenInfo; } ///@} ///@{ @@ -161,7 +161,7 @@ private: Token::Value token; SourceLocation location; std::string literal; - std::string extendedTokenInfo; + std::tuple<unsigned, unsigned> extendedTokenInfo; }; ///@{ @@ -192,7 +192,7 @@ private: void scanDecimalDigits(); Token::Value scanNumber(char _charSeen = 0); - std::tuple<Token::Value, std::string> scanIdentifierOrKeyword(); + std::tuple<Token::Value, unsigned, unsigned> scanIdentifierOrKeyword(); Token::Value scanString(); Token::Value scanSingleLineDocComment(); |