From 3412a8527d537a34124ecb87b57cf7ee94ed2c48 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Tue, 30 Sep 2025 22:32:05 -0400 Subject: np: parse: Add initial parsing logic Signed-off-by: Ian Moffett --- src/sys/np/core/np_init.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/sys/np/core/np_init.c') diff --git a/src/sys/np/core/np_init.c b/src/sys/np/core/np_init.c index 6b50b8e..63d2ff2 100644 --- a/src/sys/np/core/np_init.c +++ b/src/sys/np/core/np_init.c @@ -32,6 +32,7 @@ #include #include #include +#include #define pr_trace(fmt, ...) printf("pirho: " fmt, ##__VA_ARGS__) @@ -40,7 +41,6 @@ np_init(const char *in_path, struct np_work *workp) { int error; struct nameidata nd; - struct lex_token tok; if (in_path == NULL || workp == NULL) { return -EINVAL; @@ -61,6 +61,7 @@ np_init(const char *in_path, struct np_work *workp) return error; } + parse_work(workp); return 0; } -- cgit v1.2.3