From 967ccfbfd50e0ce0aec985bcb394e34787450f75 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Sun, 9 Oct 2016 10:27:50 +0800 Subject: AST - Remove free MacroInvocation lists --- src/parse/types.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/parse/types.cpp') diff --git a/src/parse/types.cpp b/src/parse/types.cpp index 39bd5b5d..74565d52 100644 --- a/src/parse/types.cpp +++ b/src/parse/types.cpp @@ -37,7 +37,7 @@ TypeRef Parse_Type_Int(TokenStream& lex, bool allow_trait_list) case TOK_INTERPOLATED_TYPE: return mv$(tok.frag_type()); case TOK_MACRO: - return TypeRef(TypeRef::TagMacro(), Parse_MacroInvocation(ps, AST::MetaItems(), mv$(tok.str()), lex)); + return TypeRef(TypeRef::TagMacro(), Parse_MacroInvocation(ps, mv$(tok.str()), lex)); // '!' - Only ever used as part of function prototypes, but is kinda a type... not allowed here though case TOK_EXCLAM: return TypeRef( Span(tok.get_pos()), TypeData::make_Bang({}) ); -- cgit v1.2.3