public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-8551] gccrs: Add await keyword
@ 2024-01-30 11:59 Arthur Cohen
0 siblings, 0 replies; only message in thread
From: Arthur Cohen @ 2024-01-30 11:59 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:ad2ff326cce7519587973c22e87288783e8f5e57
commit r14-8551-gad2ff326cce7519587973c22e87288783e8f5e57
Author: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Date: Thu Nov 16 13:11:33 2023 +0100
gccrs: Add await keyword
The 2018 edition await keyword was missing from the keyword list.
gcc/rust/ChangeLog:
* lex/rust-token.h (enum PrimitiveCoreType): Add await keyword
definition.
Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diff:
---
gcc/rust/lex/rust-token.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/gcc/rust/lex/rust-token.h b/gcc/rust/lex/rust-token.h
index 401452f515c3..e38c3cf99433 100644
--- a/gcc/rust/lex/rust-token.h
+++ b/gcc/rust/lex/rust-token.h
@@ -150,6 +150,7 @@ enum PrimitiveCoreType
RS_TOKEN_KEYWORD_2015 (AS, "as") \
RS_TOKEN_KEYWORD_2018 (ASYNC, "async") /* unused */ \
RS_TOKEN_KEYWORD_2015 (AUTO, "auto") \
+ RS_TOKEN_KEYWORD_2018 (AWAIT, "await") \
RS_TOKEN_KEYWORD_2015 (BECOME, "become") /* unused */ \
RS_TOKEN_KEYWORD_2015 (BOX, "box") /* unused */ \
RS_TOKEN_KEYWORD_2015 (BREAK, "break") \
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-01-30 11:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-30 11:59 [gcc r14-8551] gccrs: Add await keyword Arthur Cohen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).