aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-11-12 16:13:14 +0800
committerchriseth <chris@ethereum.org>2018-11-12 16:15:22 +0800
commitaf65bac737ce2f7c1d0311c2bcbbc12f43d122f9 (patch)
tree902bdd1e196a97b10767d1b648117e9086acefea
parent405565db62e8700fea08671b0dd85225257b6c5d (diff)
downloaddexon-solidity-af65bac737ce2f7c1d0311c2bcbbc12f43d122f9.tar.gz
dexon-solidity-af65bac737ce2f7c1d0311c2bcbbc12f43d122f9.tar.zst
dexon-solidity-af65bac737ce2f7c1d0311c2bcbbc12f43d122f9.zip
Remove trailing whitespace.
-rw-r--r--docs/contributing.rst4
-rw-r--r--libsolidity/parsing/Parser.cpp2
-rw-r--r--test/libyul/yulOptimizerTests/varDeclPropagator/multi_assignment_vardecl.yul2
-rw-r--r--test/libyul/yulOptimizerTests/varDeclPropagator/simple1.yul2
4 files changed, 5 insertions, 5 deletions
diff --git a/docs/contributing.rst b/docs/contributing.rst
index e626e5c0..11f95206 100644
--- a/docs/contributing.rst
+++ b/docs/contributing.rst
@@ -84,8 +84,8 @@ internally.
.. note ::
- Those working in a Windows environment wanting to run the above basic sets without aleth or libz3 in Git Bash, you would have to do: ``./build/test/RelWithDebInfo/soltest.exe -- --no-ipc --no-smt``.
- If you're running this in plain Command Prompt, use ``.\build\test\RelWithDebInfo\soltest.exe -- --no-ipc --no-smt``.
+ Those working in a Windows environment wanting to run the above basic sets without aleth or libz3 in Git Bash, you would have to do: ``./build/test/RelWithDebInfo/soltest.exe -- --no-ipc --no-smt``.
+ If you're running this in plain Command Prompt, use ``.\build\test\RelWithDebInfo\soltest.exe -- --no-ipc --no-smt``.
The option ``--no-smt`` disables the tests that require ``libz3`` and
``--no-ipc`` disables those that require ``aleth``.
diff --git a/libsolidity/parsing/Parser.cpp b/libsolidity/parsing/Parser.cpp
index f99b9ea4..b17dad9a 100644
--- a/libsolidity/parsing/Parser.cpp
+++ b/libsolidity/parsing/Parser.cpp
@@ -1556,7 +1556,7 @@ ASTPointer<Expression> Parser::parsePrimaryExpression()
}
case Token::IllegalHex:
fatalParserError("Expected even number of hex-nibbles within double-quotes.");
- break;
+ break;
default:
if (TokenTraits::isElementaryTypeName(token))
{
diff --git a/test/libyul/yulOptimizerTests/varDeclPropagator/multi_assignment_vardecl.yul b/test/libyul/yulOptimizerTests/varDeclPropagator/multi_assignment_vardecl.yul
index 4ac07031..ed8d33b4 100644
--- a/test/libyul/yulOptimizerTests/varDeclPropagator/multi_assignment_vardecl.yul
+++ b/test/libyul/yulOptimizerTests/varDeclPropagator/multi_assignment_vardecl.yul
@@ -1,6 +1,6 @@
{
function f() -> a, b, c {}
- let x, y, z
+ let x, y, z
z, x, y := f()
}
// ----
diff --git a/test/libyul/yulOptimizerTests/varDeclPropagator/simple1.yul b/test/libyul/yulOptimizerTests/varDeclPropagator/simple1.yul
index 117e0cc9..d8959040 100644
--- a/test/libyul/yulOptimizerTests/varDeclPropagator/simple1.yul
+++ b/test/libyul/yulOptimizerTests/varDeclPropagator/simple1.yul
@@ -1,5 +1,5 @@
{
- let f
+ let f
f := mload(0)
}
// ----