aboutsummaryrefslogtreecommitdiff
path: root/src/prc1/div.c
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi92@disroot.org>2026-10-31 13:51:06 +0100
committerXavier Del Campo Romero <xavi92@disroot.org>2026-10-31 13:51:06 +0100
commit4dbcfc991a4fb203ec2b50d950f59adb1ad61922 (patch)
tree474dbf6fbf510f19f613b3357f20052f17239436 /src/prc1/div.c
parent803e95a883a5d3881f662d60cd1a24309bafd4de (diff)
downloadprc-4dbcfc991a4fb203ec2b50d950f59adb1ad61922.tar.gz
Setup scaffolding for statics section
Diffstat (limited to 'src/prc1/div.c')
-rw-r--r--src/prc1/div.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/prc1/div.c b/src/prc1/div.c
index 5c6422f..99077e4 100644
--- a/src/prc1/div.c
+++ b/src/prc1/div.c
@@ -4,6 +4,7 @@
#include "im.h"
#include "lk.h"
#include "pr.h"
+#include "st.h"
#include "td.h"
#include "ws.h"
@@ -21,6 +22,7 @@ static const struct seq fnseq[] =
procedure,
{(struct step[]){{ID, "locals"}, {0}}, .fn = ws},
{(struct step[]){{ID, "globals"}, {0}}, .fn = gl},
+ {(struct step[]){{ID, "statics"}, {0}}, .fn = st},
{0}
};