diff options
Diffstat (limited to 'gcc/rust/ast/rust-ast.h')
-rw-r--r-- | gcc/rust/ast/rust-ast.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/rust/ast/rust-ast.h b/gcc/rust/ast/rust-ast.h index ee3c89a..a4db7c7 100644 --- a/gcc/rust/ast/rust-ast.h +++ b/gcc/rust/ast/rust-ast.h @@ -44,6 +44,7 @@ enum class Kind UNKNOWN, MACRO_RULES_DEFINITION, MACRO_INVOCATION, + IDENTIFIER, }; class Visitable @@ -1072,6 +1073,8 @@ public: outer_attrs = std::move (new_attrs); } + Kind get_ast_kind () const override { return Kind::IDENTIFIER; } + protected: // Clone method implementation IdentifierExpr *clone_expr_without_block_impl () const final override |