aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/parsing/Parser.cpp
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2016-09-05 20:54:50 +0800
committerchriseth <c@ethdev.com>2016-09-05 20:54:50 +0800
commit02984b8de11a9dc6ab88788bfae82530b073f1f6 (patch)
tree754aaa2856d7c57c1ff45b8a8894812ebce752fc /libsolidity/parsing/Parser.cpp
parent341c9436a8b6f5ae49265a482519e165a7f40395 (diff)
downloaddexon-solidity-02984b8de11a9dc6ab88788bfae82530b073f1f6.tar.gz
dexon-solidity-02984b8de11a9dc6ab88788bfae82530b073f1f6.tar.zst
dexon-solidity-02984b8de11a9dc6ab88788bfae82530b073f1f6.zip
Require ";" after "_"
Diffstat (limited to 'libsolidity/parsing/Parser.cpp')
-rw-r--r--libsolidity/parsing/Parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/parsing/Parser.cpp b/libsolidity/parsing/Parser.cpp
index b2f4a156..1bffa5d7 100644
--- a/libsolidity/parsing/Parser.cpp
+++ b/libsolidity/parsing/Parser.cpp
@@ -753,7 +753,7 @@ ASTPointer<Statement> Parser::parseStatement()
{
statement = ASTNodeFactory(*this).createNode<PlaceholderStatement>(docString);
m_scanner->next();
- return statement;
+ break;
}
// fall-through
default: