diff options
Diffstat (limited to 'src/sys/include/os/np.h')
-rw-r--r-- | src/sys/include/os/np.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sys/include/os/np.h b/src/sys/include/os/np.h index c3921cb..9b04f0e 100644 --- a/src/sys/include/os/np.h +++ b/src/sys/include/os/np.h @@ -49,6 +49,8 @@ * @lex_st: Lexer state * @ast_root: Parse tree * @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 */ struct np_work { char *source; @@ -58,6 +60,8 @@ struct np_work { struct ptrbox *work_mem; struct ast_node *ast_root; char ccache; + uint8_t in_func : 1; + uint8_t begin_depth; }; /* |