From 4dbcfc991a4fb203ec2b50d950f59adb1ad61922 Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Sat, 31 Oct 2026 13:51:06 +0100 Subject: Setup scaffolding for statics section --- src/prc1/st.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/prc1/st.c (limited to 'src/prc1/st.c') diff --git a/src/prc1/st.c b/src/prc1/st.c new file mode 100644 index 0000000..9de73ee --- /dev/null +++ b/src/prc1/st.c @@ -0,0 +1,12 @@ +#include "st.h" +#include "fn.h" +#include "prv.h" +#include "parse.h" +#include "storage.h" + +int st(const struct lex *l, struct prv *p) +{ + struct fn *fn = fn_cur(p); + + return storage(l, p, "statics section", 1, &fn->st); +} -- cgit v1.2.3