summaryrefslogtreecommitdiff
path: root/src/parse/types.cpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-03-13 08:55:41 +0800
committerJohn Hodge <tpg@mutabah.net>2016-03-13 08:55:41 +0800
commitdf7f0e6e1b384496a0d198557d73359085f46d47 (patch)
treefb47db407071d0455e37857542cfb46bde9263e4 /src/parse/types.cpp
parentbc389f78562198ca5afd7c89c880da1212aa4720 (diff)
downloadmrust-df7f0e6e1b384496a0d198557d73359085f46d47.tar.gz
Parse - Store module path in module
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());
}