aboutsummaryrefslogtreecommitdiff
path: root/libgrust
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-04-27 10:09:01 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-16 18:34:16 +0100
commitba534efbc00a4d1b45aea57b8eb35c82fe007780 (patch)
treefc881c0fc3748f07fe6046b1d54166d38b5c55a5 /libgrust
parent71180a9eed367667e7b2c3f6aea1ee1bba15e9b3 (diff)
downloadgcc-ba534efbc00a4d1b45aea57b8eb35c82fe007780.zip
gcc-ba534efbc00a4d1b45aea57b8eb35c82fe007780.tar.gz
gcc-ba534efbc00a4d1b45aea57b8eb35c82fe007780.tar.bz2
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>
Diffstat (limited to 'libgrust')
-rw-r--r--libgrust/libproc_macro/proc_macro.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libgrust/libproc_macro/proc_macro.h b/libgrust/libproc_macro/proc_macro.h
index cf96bb6..5778098 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 */