summaryrefslogtreecommitdiff
path: root/src/parse/root.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse/root.cpp')
-rw-r--r--src/parse/root.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/parse/root.cpp b/src/parse/root.cpp
index d79df434..a85812ea 100644
--- a/src/parse/root.cpp
+++ b/src/parse/root.cpp
@@ -1921,6 +1921,14 @@ namespace {
item_data = ::AST::Item( Parse_TraitDef(lex, meta_items) );
break;
+ case TOK_RWORD_MACRO:
+ if( TARGETVER_1_19 )
+ {
+ throw ParseError::Unexpected(lex, tok);
+ }
+ TODO(lex.point_span(), "macro items");
+ break;
+
case TOK_RWORD_MOD: {
GET_CHECK_TOK(tok, lex, TOK_IDENT);
auto name = mv$(tok.str());