summaryrefslogtreecommitdiff
path: root/src/sys/include
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-10-03 19:20:46 -0400
committerIan Moffett <ian@osmora.org>2025-10-03 19:20:46 -0400
commitb7c88d4a4d9e06a2984eb0812db407e3f49a629a (patch)
tree2eb91b09069c0f61cd1221cbc1065cbf24b3df3b /src/sys/include
parentaaa5a270cae3be855806ffacca93d76a5b1663b8 (diff)
np: parse: Add symbol list
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'src/sys/include')
-rw-r--r--src/sys/include/os/np.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sys/include/os/np.h b/src/sys/include/os/np.h
index fb4d58b..02d0a18 100644
--- a/src/sys/include/os/np.h
+++ b/src/sys/include/os/np.h
@@ -39,6 +39,7 @@
#include <os/vnode.h>
#include <np/lex.h>
#include <np/piir.h>
+#include <np/symbol.h>
#include <lib/ptrbox.h>
/*
@@ -64,6 +65,7 @@ typedef enum {
* @line_no: Current line number
* @piir_stack: Bytecode stack
* @lex_st: Lexer state
+ * @symlist: List of symbols
* @ccache: Character cache (temporary store for lexer)
* @in_func: Is set if we are inside a function
* @begin_depth: How deep in "begin" we are
@@ -74,6 +76,7 @@ struct np_work {
size_t line_no;
struct piir_stack *piir_stack;
struct lexer_state lex_st;
+ struct symlist symlist;
struct ptrbox *work_mem;
char ccache;
uint8_t in_func : 1;