summaryrefslogtreecommitdiff
path: root/src/parse/types.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse/types.cpp')
-rw-r--r--src/parse/types.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse/types.cpp b/src/parse/types.cpp
index 16e95f6d..d5a2679f 100644
--- a/src/parse/types.cpp
+++ b/src/parse/types.cpp
@@ -144,7 +144,7 @@ TypeRef Parse_Type_Int(TokenStream& lex)
TypeRef inner = Parse_Type(lex);
if( GET_TOK(tok, lex) == TOK_SEMICOLON ) {
// Sized array
- AST::Expr array_size = Parse_Expr(lex, true);
+ AST::Expr array_size = Parse_Expr(lex);
GET_CHECK_TOK(tok, lex, TOK_SQUARE_CLOSE);
return TypeRef(TypeRef::TagSizedArray(), inner, array_size.take_node());
}