diff options
Diffstat (limited to 'gcc/rust/ast/rust-macro.h')
-rw-r--r-- | gcc/rust/ast/rust-macro.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/rust/ast/rust-macro.h b/gcc/rust/ast/rust-macro.h index 798ba9e..8572e370 100644 --- a/gcc/rust/ast/rust-macro.h +++ b/gcc/rust/ast/rust-macro.h @@ -838,6 +838,8 @@ public: return path; } + SimplePath &get_path () { return path; } + location_t get_locus () const override { return path.get_locus (); } bool check_cfg_predicate (const Session &session) const override; @@ -935,7 +937,7 @@ public: void accept_vis (ASTVisitor &vis) override; - Identifier get_ident () const { return ident; } + Identifier &get_ident () { return ident; } location_t get_locus () const override { return ident_locus; } |