From: Pierre-Emmanuel Patry Date: Wed, 27 Sep 2023 14:21:25 +0000 (+0200) Subject: gccrs: Add an explicit value to proc macro enum kind X-Git-Tag: basepoints/gcc-15~2038 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10699fb34a2969102afe3519caae62dddb8075fc;p=thirdparty%2Fgcc.git 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 --- diff --git a/libgrust/libproc_macro_internal/proc_macro.h b/libgrust/libproc_macro_internal/proc_macro.h index 457ec4693f64..9e142ffa79ff 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, };