aboutsummaryrefslogtreecommitdiff
path: root/src/prc1/gl.c
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/gl.c
parent9140988be4e5bb028b7140aca1a67af1370c72a7 (diff)
downloadprc-4ce39e4fc1de9536de7dedfe91b6dee38dec76ae.tar.gz
WIP sym + cgen
Diffstat (limited to 'src/prc1/gl.c')
-rw-r--r--src/prc1/gl.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/prc1/gl.c b/src/prc1/gl.c
index de0293f..c72db70 100644
--- a/src/prc1/gl.c
+++ b/src/prc1/gl.c
@@ -4,18 +4,6 @@
#include "parse.h"
#include "storage.h"
-int gl_cgen(const struct storage *gl, struct cgen *c)
-{
- for (size_t i = 0; i < gl->nentries; i++)
- {
- const struct stentry *e = &gl->entries[i];
-
- printf("export data $%s = { z %zu }\n", e->tk->s, e->t->sz);
- }
-
- return 0;
-}
-
int gl(const struct lex *l, struct prv *p)
{
struct fn *fn = fn_cur(p);