diff options
author | Ian Moffett <ian@osmora.org> | 2025-09-30 22:32:05 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-09-30 22:32:05 -0400 |
commit | 3412a8527d537a34124ecb87b57cf7ee94ed2c48 (patch) | |
tree | 8483b9786957c343b137c93cf883750375b49356 /src/sys/np/core/np_init.c | |
parent | 78ad002e878fd633b7e3b147021e417b4fb480ee (diff) |
np: parse: Add initial parsing logic
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'src/sys/np/core/np_init.c')
-rw-r--r-- | src/sys/np/core/np_init.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 <sys/syslog.h> #include <os/omar.h> #include <os/np.h> +#include <np/parse.h> #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; } |