aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2014-10-30 02:26:02 +0800
committerChristian <c@ethdev.com>2014-10-30 02:26:02 +0800
commit21b01a9647f76ca57825cd8230e5f4047850ccf7 (patch)
tree17f356a32de76f0ebc9047857809597feef51c92
parentf91ddc27889fd0565179bcac44ff8b7d0413cf20 (diff)
parent2939b180ba3e9fd247676b19b0b849676ac0d682 (diff)
downloaddexon-solidity-21b01a9647f76ca57825cd8230e5f4047850ccf7.tar.gz
dexon-solidity-21b01a9647f76ca57825cd8230e5f4047850ccf7.tar.zst
dexon-solidity-21b01a9647f76ca57825cd8230e5f4047850ccf7.zip
Merge remote-tracking branch 'ethereum/develop' into sol_expressionCompiler
-rw-r--r--Parser.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Parser.cpp b/Parser.cpp
index 1ea413ee..44f0a54a 100644
--- a/Parser.cpp
+++ b/Parser.cpp
@@ -266,9 +266,11 @@ ASTPointer<Statement> Parser::parseStatement()
// starting from here, all statements must be terminated by a semicolon
case Token::CONTINUE:
statement = ASTNodeFactory(*this).createNode<Continue>();
+ m_scanner->next();
break;
case Token::BREAK:
statement = ASTNodeFactory(*this).createNode<Break>();
+ m_scanner->next();
break;
case Token::RETURN:
{