diff options
| author | Xavier Del Campo Romero <xavi92@disroot.org> | 2026-10-31 13:51:06 +0100 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi92@disroot.org> | 2026-10-31 13:51:06 +0100 |
| commit | 4dbcfc991a4fb203ec2b50d950f59adb1ad61922 (patch) | |
| tree | 474dbf6fbf510f19f613b3357f20052f17239436 /src/prc1/st.c | |
| parent | 803e95a883a5d3881f662d60cd1a24309bafd4de (diff) | |
| download | prc-4dbcfc991a4fb203ec2b50d950f59adb1ad61922.tar.gz | |
Setup scaffolding for statics section
Diffstat (limited to 'src/prc1/st.c')
| -rw-r--r-- | src/prc1/st.c | 12 |
1 files changed, 12 insertions, 0 deletions
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); +} |
