aboutsummaryrefslogtreecommitdiff
path: root/src/parser.hpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-08-21 23:10:21 +0100
committergingerBill <bill@gingerbill.org>2021-08-21 23:10:21 +0100
commit6a77fc4cdd35b2ecd1c32f7c5f2e249d6e225d91 (patch)
treeda479dcee4640fa3a21b440478644f7c67206bfc /src/parser.hpp
parent01a888fcedbdcfa4bd86de6e3346104cad8faa8a (diff)
Add multi-pointer types `[^]T`
Diffstat (limited to 'src/parser.hpp')
-rw-r--r--src/parser.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/parser.hpp b/src/parser.hpp
index 3612d5e96..1b45024b6 100644
--- a/src/parser.hpp
+++ b/src/parser.hpp
@@ -604,6 +604,10 @@ AST_KIND(_TypeBegin, "", bool) \
Ast *tag; \
Ast *type; \
}) \
+ AST_KIND(MultiPointerType, "multi pointer type", struct { \
+ Token token; \
+ Ast *type; \
+ }) \
AST_KIND(ArrayType, "array type", struct { \
Token token; \
Ast *count; \