From af65bac737ce2f7c1d0311c2bcbbc12f43d122f9 Mon Sep 17 00:00:00 2001 From: chriseth Date: Mon, 12 Nov 2018 09:13:14 +0100 Subject: Remove trailing whitespace. --- docs/contributing.rst | 4 ++-- libsolidity/parsing/Parser.cpp | 2 +- .../yulOptimizerTests/varDeclPropagator/multi_assignment_vardecl.yul | 2 +- test/libyul/yulOptimizerTests/varDeclPropagator/simple1.yul | 2 +- 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 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) } // ---- -- cgit v1.2.3