aboutsummaryrefslogtreecommitdiff
path: root/src/prc1/st.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/prc1/st.c')
-rw-r--r--src/prc1/st.c12
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);
+}