aboutsummaryrefslogtreecommitdiff
path: root/src/prc1/type.h
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi92@disroot.org>2026-10-01 01:04:30 +0200
committerXavier Del Campo Romero <xavi92@disroot.org>2026-10-11 00:14:35 +0200
commit4ce39e4fc1de9536de7dedfe91b6dee38dec76ae (patch)
treef9820f96b8eab624430c3700f32a2878a7036ee2 /src/prc1/type.h
parent9140988be4e5bb028b7140aca1a67af1370c72a7 (diff)
downloadprc-4ce39e4fc1de9536de7dedfe91b6dee38dec76ae.tar.gz
WIP sym + cgen
Diffstat (limited to 'src/prc1/type.h')
-rw-r--r--src/prc1/type.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/prc1/type.h b/src/prc1/type.h
index 7de6c28..455f243 100644
--- a/src/prc1/type.h
+++ b/src/prc1/type.h
@@ -7,6 +7,7 @@
const struct type *type_ufind(const struct fn *fn, const char *s);
const struct type *type_find(const struct fn *fn, const char *s);
+const struct type *type_insert(struct prv *p, struct type *a);
char *type_name(const struct type *t);
int type(const struct lex *l, struct prv *p,
int (*fn)(const struct lex *, struct prv *p, const struct type *t));