Merge pull request #10618 from ethereum/develop

Merge develop into breaking.
This commit is contained in:
chriseth
2020-12-16 12:34:41 +01:00
committed by GitHub
34 changed files with 340 additions and 11 deletions
+3
View File
@@ -327,6 +327,9 @@ variant<Literal, Identifier> Parser::parseLiteralOrIdentifier()
case Token::HexStringLiteral:
fatalParserError(3772_error, "Hex literals are not valid in this context.");
break;
case Token::Illegal:
fatalParserError(1465_error, "Illegal token: " + to_string(m_scanner->currentError()));
break;
default:
fatalParserError(1856_error, "Literal or identifier expected.");
}