[gcc r14-7545] gccrs: libproc_macro: Change proc_macro.h to main header
Arthur Cohen
cohenarthur@gcc.gnu.org
Tue Jan 16 17:43:15 GMT 2024
https://gcc.gnu.org/g:ba534efbc00a4d1b45aea57b8eb35c82fe007780
commit r14-7545-gba534efbc00a4d1b45aea57b8eb35c82fe007780
Author: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Date: Thu Apr 27 10:09:01 2023 +0200
gccrs: libproc_macro: Change proc_macro.h to main header
Add different include directives to the proc_macro header in order to
create an handy header much alike rust-system.
libgrust/ChangeLog:
* libproc_macro/proc_macro.h: Add Literal, Punct,
Group, TokenTree and Tokenstream headers.
Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diff:
---
libgrust/libproc_macro/proc_macro.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/libgrust/libproc_macro/proc_macro.h b/libgrust/libproc_macro/proc_macro.h
index cf96bb63cb2..5778098bd4b 100644
--- a/libgrust/libproc_macro/proc_macro.h
+++ b/libgrust/libproc_macro/proc_macro.h
@@ -24,5 +24,10 @@
#define PROC_MACRO_H
#include "literal.h"
+#include "tokenstream.h"
+#include "tokentree.h"
+#include "group.h"
+#include "punct.h"
+#include "ident.h"
#endif /* ! PROC_MACRO_H */
More information about the Gcc-cvs
mailing list