From dff1a26f55adc54ccfddfa9d2e87f1dab719d8ca Mon Sep 17 00:00:00 2001 From: RJ Catalano Date: Fri, 11 Mar 2016 15:27:56 -0600 Subject: fix for token bug, also quick fix for the wei and seconds --- libsolidity/parsing/Token.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libsolidity') diff --git a/libsolidity/parsing/Token.cpp b/libsolidity/parsing/Token.cpp index ef817d5d..d3786524 100644 --- a/libsolidity/parsing/Token.cpp +++ b/libsolidity/parsing/Token.cpp @@ -153,7 +153,7 @@ tuple Token::fromIdentifierOrKeyword(s positionM < positionX && positionX < _literal.end() && *positionX == 'x' && - all_of(positionX + 1, _literal.end(), ::isdigit) + all_of(positionX++, _literal.end(), ::isdigit) ) { int n = parseSize(positionX + 1, _literal.end()); if ( -- cgit