aboutsummaryrefslogtreecommitdiffstats
path: root/Parser.cpp
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2015-02-23 21:55:06 +0800
committerChristian <c@ethdev.com>2015-02-23 21:55:06 +0800
commit39c471f33265c4f87b2ca518d736034bdd188c0e (patch)
treed988550588054ec5558cbe153adfbdfcd1e1044f /Parser.cpp
parentc8b03c51a0ad77dfbcc589f74fb69accdbdf3ae6 (diff)
downloaddexon-solidity-39c471f33265c4f87b2ca518d736034bdd188c0e.tar
dexon-solidity-39c471f33265c4f87b2ca518d736034bdd188c0e.tar.gz
dexon-solidity-39c471f33265c4f87b2ca518d736034bdd188c0e.tar.bz2
dexon-solidity-39c471f33265c4f87b2ca518d736034bdd188c0e.tar.lz
dexon-solidity-39c471f33265c4f87b2ca518d736034bdd188c0e.tar.xz
dexon-solidity-39c471f33265c4f87b2ca518d736034bdd188c0e.tar.zst
dexon-solidity-39c471f33265c4f87b2ca518d736034bdd188c0e.zip
Comments and warnings.
Diffstat (limited to 'Parser.cpp')
-rw-r--r--Parser.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Parser.cpp b/Parser.cpp
index 221d8a12..9043d7fc 100644
--- a/Parser.cpp
+++ b/Parser.cpp
@@ -631,6 +631,8 @@ ASTPointer<Statement> Parser::parseSimpleStatement()
return parseVariableDeclarationStatement();
case LookAheadInfo::ExpressionStatement:
return parseExpressionStatement();
+ default:
+ break;
}
// At this point, we have '(Identifier|ElementaryTypeName) "["'.