diff options
author | Arthur Cohen <arthur.cohen@embecosm.com> | 2022-03-03 14:16:02 +0100 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2022-03-03 15:20:55 +0100 |
commit | ab4533dab7a5be7c900012f40dbeb3fc0cce0456 (patch) | |
tree | 63362d5c7259b8f0bae058588d46023872cee80d /gcc/rust/ast/rust-macro.h | |
parent | 25a33b0739d549c4c2937bb7035a769c0170ba65 (diff) | |
download | gcc-ab4533dab7a5be7c900012f40dbeb3fc0cce0456.zip gcc-ab4533dab7a5be7c900012f40dbeb3fc0cce0456.tar.gz gcc-ab4533dab7a5be7c900012f40dbeb3fc0cce0456.tar.bz2 |
macros: Match repetition separator properly
Diffstat (limited to 'gcc/rust/ast/rust-macro.h')
-rw-r--r-- | gcc/rust/ast/rust-macro.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/rust/ast/rust-macro.h b/gcc/rust/ast/rust-macro.h index 9f8f19c..91107ff 100644 --- a/gcc/rust/ast/rust-macro.h +++ b/gcc/rust/ast/rust-macro.h @@ -207,6 +207,7 @@ public: } MacroRepOp get_op () const { return op; } + const std::unique_ptr<MacroRepSep> &get_sep () const { return sep; } std::vector<std::unique_ptr<MacroMatch> > &get_matches () { return matches; } protected: |