aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/lex
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2023-01-09 15:48:12 +0000
committerGitHub <noreply@github.com>2023-01-09 15:48:12 +0000
commit3290293e16fa47cf59f0434343c1bf40497ede90 (patch)
treec98859a1c4cd79baaa13435bb072b4d42836b39e /gcc/rust/lex
parent48d32bc9cb05ea02ee0dc9d97d86ff1f559fae4f (diff)
parent9e5769cf45cfc703e807e51b3ad301e123b05b55 (diff)
downloadgcc-3290293e16fa47cf59f0434343c1bf40497ede90.zip
gcc-3290293e16fa47cf59f0434343c1bf40497ede90.tar.gz
gcc-3290293e16fa47cf59f0434343c1bf40497ede90.tar.bz2
Merge #1708
1708: Parse declarative macro (decl_macro 2.0) r=CohenArthur a=tamaroning This PR is currentry wip. Opinions and advices are welcome! Co-authored-by: Raiki Tamura <tamaron1203@gmail.com>
Diffstat (limited to 'gcc/rust/lex')
-rw-r--r--gcc/rust/lex/rust-token.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/lex/rust-token.h b/gcc/rust/lex/rust-token.h
index ae4bcfb..a0ff555 100644
--- a/gcc/rust/lex/rust-token.h
+++ b/gcc/rust/lex/rust-token.h
@@ -171,7 +171,7 @@ enum PrimitiveCoreType
RS_TOKEN_KEYWORD (IN, "in") \
RS_TOKEN_KEYWORD (LET, "let") \
RS_TOKEN_KEYWORD (LOOP, "loop") \
- RS_TOKEN_KEYWORD (MACRO, "macro") /* unused */ \
+ RS_TOKEN_KEYWORD (MACRO, "macro") \
RS_TOKEN_KEYWORD (MATCH_TOK, "match") \
RS_TOKEN_KEYWORD (MOD, "mod") \
RS_TOKEN_KEYWORD (MOVE, "move") \