aboutsummaryrefslogtreecommitdiffstats
path: root/Parser.cpp
diff options
context:
space:
mode:
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) "["'.