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, 2 insertions, 0 deletions
diff --git a/src/parse/types.cpp b/src/parse/types.cpp
index 33307dea..7b69dbd6 100644
--- a/src/parse/types.cpp
+++ b/src/parse/types.cpp
@@ -33,6 +33,8 @@ TypeRef Parse_Type_Int(TokenStream& lex)
switch( GET_TOK(tok, lex) )
{
+ case TOK_MACRO:
+ return TypeRef(TypeRef::TagMacro(), Parse_MacroInvocation(AST::MetaItems(), mv$(tok.str()), lex));
// '!' - Only ever used as part of function prototypes, but is kinda a type... not allowed here though
case TOK_EXCLAM:
throw ParseError::Generic(lex, "! is not a real type");