diff options
Diffstat (limited to 'gcc/rust/expand/rust-macro-expand.cc')
-rw-r--r-- | gcc/rust/expand/rust-macro-expand.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/rust/expand/rust-macro-expand.cc b/gcc/rust/expand/rust-macro-expand.cc index 358d8fb..a45c13f 100644 --- a/gcc/rust/expand/rust-macro-expand.cc +++ b/gcc/rust/expand/rust-macro-expand.cc @@ -569,8 +569,7 @@ MacroExpander::match_matcher (Parser<MacroInvocLexer> &parser, bool MacroExpander::match_token (Parser<MacroInvocLexer> &parser, AST::Token &token) { - // FIXME this needs to actually match the content and the type - return parser.skip_token (token.get_id ()); + return parser.skip_token (token.get_tok_ptr ()); } bool |