diff options
Diffstat (limited to 'src/sys/np/core/np_lex.c')
-rw-r--r-- | src/sys/np/core/np_lex.c | 1 |
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 cecb425..8eb5039 100644 --- a/src/sys/np/core/np_lex.c +++ b/src/sys/np/core/np_lex.c @@ -147,6 +147,7 @@ lex_matchstr(struct np_work *work, char c, struct lex_token *res) } while ((c = lex_pop(work)) != 0); id[id_idx] = '\0'; + res->val_str = ptrbox_strdup(id, work->work_mem); /* Match the tokens */ error = lex_cmptok(id, res); |