Skip to content

Commit

Permalink
Fix new found spelling mistakes and add exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
Marenz committed May 21, 2019
1 parent e324dea commit cbf81b1
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cmake/templates/license.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jsoncpp:
license you like.

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:

Copyright 2006-2012, the V8 project authors. All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion libdevcore/CommonData.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ enum class HexCase
/// @example toHex("A\x69") == "4169"
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
int fromHex(char _i, WhenError _throw);

Expand Down
6 changes: 6 additions & 0 deletions scripts/codespell_whitelist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,9 @@ nd
assignend
uint
mut
BA
FO
ba
fo
compilability
errorString
2 changes: 1 addition & 1 deletion test/compilationTests/corion/provider.sol
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ contract provider is module, safeMath, announcementTypes {
}
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 provider’s admin.
With this kind of call only 100 address can be permitted.
Expand Down
2 changes: 1 addition & 1 deletion test/libsolidity/SolidityEndToEndTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13518,7 +13518,7 @@ BOOST_AUTO_TEST_CASE(bare_call_invalid_address)
{
char const* sourceCode = R"YY(
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) {
(bool success,) = address(0x4242).call("");
return success;
Expand Down

0 comments on commit cbf81b1

Please sign in to comment.