summaryrefslogtreecommitdiff
path: root/src/sys/np/core/np_lex.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/np/core/np_lex.c')
-rw-r--r--src/sys/np/core/np_lex.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sys/np/core/np_lex.c b/src/sys/np/core/np_lex.c
index 8eb5039..eb15a52 100644
--- a/src/sys/np/core/np_lex.c
+++ b/src/sys/np/core/np_lex.c
@@ -256,6 +256,7 @@ lex_nom(struct np_work *work, struct lex_token *res)
}
lex_st = &work->lex_st;
+ res->token = TT_NONE;
/* Skip all whitespace */
while ((c = lex_pop(work)) != 0) {