summaryrefslogtreecommitdiff
path: root/src/sys/include/np
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/include/np')
-rw-r--r--src/sys/include/np/lex.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/sys/include/np/lex.h b/src/sys/include/np/lex.h
index ba4bdb8..9c6e69e 100644
--- a/src/sys/include/np/lex.h
+++ b/src/sys/include/np/lex.h
@@ -85,7 +85,10 @@ typedef uint64_t tokval_t;
*/
struct lex_token {
tt_t token;
- tokval_t val;
+ union {
+ tokval_t val;
+ char *val_str;
+ };
};
/*