Merge pull request #6799 from ethereum/fix-spells

Fix new found spelling mistakes and add exceptions
This commit is contained in:
chriseth 2019-05-21 11:35:47 +02:00 committed by GitHub
commit 0e132d0773
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 4 deletions

View File

@ -67,7 +67,7 @@ jsoncpp:
license you like. license you like.
scanner/token: scanner/token:
The liblangutil/{CharStream,Scanner,Token}.{h,cpp} files are dervied from The liblangutil/{CharStream,Scanner,Token}.{h,cpp} files are derived from
code originating from the V8 project licensed under the following terms: code originating from the V8 project licensed under the following terms:
Copyright 2006-2012, the V8 project authors. All rights reserved. Copyright 2006-2012, the V8 project authors. All rights reserved.

View File

@ -111,7 +111,7 @@ enum class HexCase
/// @example toHex("A\x69") == "4169" /// @example toHex("A\x69") == "4169"
std::string toHex(bytes const& _data, HexPrefix _prefix = HexPrefix::DontAdd, HexCase _case = HexCase::Lower); std::string toHex(bytes const& _data, HexPrefix _prefix = HexPrefix::DontAdd, HexCase _case = HexCase::Lower);
/// Converts a (printable) ASCII hex character into the correspnding integer value. /// Converts a (printable) ASCII hex character into the corresponding integer value.
/// @example fromHex('A') == 10 && fromHex('f') == 15 && fromHex('5') == 5 /// @example fromHex('A') == 10 && fromHex('f') == 15 && fromHex('5') == 5
int fromHex(char _i, WhenError _throw); int fromHex(char _i, WhenError _throw);

View File

@ -3,3 +3,9 @@ nd
assignend assignend
uint uint
mut mut
BA
FO
ba
fo
compilability
errorString

View File

@ -371,7 +371,7 @@ contract provider is module, safeMath, announcementTypes {
} }
function allowUsers(address provider, address[] calldata addr) isReady external { function allowUsers(address provider, address[] calldata addr) isReady external {
/* /*
Permition of the user to be able to connect to the provider. Permission of the user to be able to connect to the provider.
This can only be invited by the providers admin. This can only be invited by the providers admin.
With this kind of call only 100 address can be permitted. With this kind of call only 100 address can be permitted.

View File

@ -13518,7 +13518,7 @@ BOOST_AUTO_TEST_CASE(bare_call_invalid_address)
{ {
char const* sourceCode = R"YY( char const* sourceCode = R"YY(
contract C { contract C {
/// Calling into non-existant account is successful (creates the account) /// Calling into non-existent account is successful (creates the account)
function f() external returns (bool) { function f() external returns (bool) {
(bool success,) = address(0x4242).call(""); (bool success,) = address(0x4242).call("");
return success; return success;