diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-09-27 16:21:25 +0200 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-16 19:09:33 +0100 |
commit | 10699fb34a2969102afe3519caae62dddb8075fc (patch) | |
tree | 188e265addfcdecbb56359a717bd8ca3c2da1c81 /libgrust | |
parent | 9e30e140bea608267bfe74f80fbf59989e6877b4 (diff) | |
download | gcc-10699fb34a2969102afe3519caae62dddb8075fc.zip gcc-10699fb34a2969102afe3519caae62dddb8075fc.tar.gz gcc-10699fb34a2969102afe3519caae62dddb8075fc.tar.bz2 |
gccrs: Add an explicit value to proc macro enum kind
We'll need this value in the final binary, it should therefore be kept
explicit.
libgrust/ChangeLog:
* libproc_macro_internal/proc_macro.h (enum ProcmacroTag): Add
explicit value for proc macro tag enum.
Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'libgrust')
-rw-r--r-- | libgrust/libproc_macro_internal/proc_macro.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgrust/libproc_macro_internal/proc_macro.h b/libgrust/libproc_macro_internal/proc_macro.h index 457ec46..9e142ff 100644 --- a/libgrust/libproc_macro_internal/proc_macro.h +++ b/libgrust/libproc_macro_internal/proc_macro.h @@ -66,7 +66,7 @@ struct Bang enum ProcmacroTag { - CUSTOM_DERIVE, + CUSTOM_DERIVE = 0, ATTR, BANG, }; |