diff options
author | Quinn Stephens <quinn@osmora.org> | 2024-11-03 16:53:16 -0500 |
---|---|---|
committer | Quinn Stephens <quinn@osmora.org> | 2024-11-03 16:53:16 -0500 |
commit | 71b10c1c765196a771ce05216395d6b78892a735 (patch) | |
tree | ea88735919caebb6500d0b3ae78820c083048e25 /include/parser | |
parent | 388025e5a7d2d7997926c6a9af8767ca9ccb12bf (diff) |
[compiler] More small refactoring
Signed-off-by: Quinn Stephens <quinn@osmora.org>
Diffstat (limited to 'include/parser')
-rw-r--r-- | include/parser/type.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/parser/type.h b/include/parser/type.h index 6a939ab..b4c16cb 100644 --- a/include/parser/type.h +++ b/include/parser/type.h @@ -7,6 +7,7 @@ #ifndef _PARSER_TYPE_H #define _PARSER_TYPE_H +#include <stdbool.h> #include <stddef.h> #include "hashmap.h" #include "parser.h" @@ -53,5 +54,6 @@ struct type { }; void parse_type(struct parser *ctx); +bool parse_type_ref(struct parser *ctx, struct type **typ_out, int *n_ptrs_out); #endif /* !_PARSER_TYPE_H */ |