summaryrefslogtreecommitdiff
path: root/src/sys/include/os
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/include/os')
-rw-r--r--src/sys/include/os/np.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sys/include/os/np.h b/src/sys/include/os/np.h
index 3bb2bb8..c3921cb 100644
--- a/src/sys/include/os/np.h
+++ b/src/sys/include/os/np.h
@@ -47,6 +47,7 @@
* @source_size: Source size in bytes
* @line_no: Current line number
* @lex_st: Lexer state
+ * @ast_root: Parse tree
* @ccache: Character cache (temporary store for lexer)
*/
struct np_work {
@@ -55,6 +56,7 @@ struct np_work {
size_t line_no;
struct lexer_state lex_st;
struct ptrbox *work_mem;
+ struct ast_node *ast_root;
char ccache;
};