aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/ast/rust-macro.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rust/ast/rust-macro.h')
-rw-r--r--gcc/rust/ast/rust-macro.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/rust/ast/rust-macro.h b/gcc/rust/ast/rust-macro.h
index 76d244e..490e812 100644
--- a/gcc/rust/ast/rust-macro.h
+++ b/gcc/rust/ast/rust-macro.h
@@ -576,6 +576,8 @@ public:
return AST::Kind::MACRO_RULES_DEFINITION;
}
+ MacroKind get_kind () const { return kind; }
+
protected:
/* Use covariance to implement clone function as returning this object rather
* than base */