From 2cf918c3e20164559f1bae5fbd83fb7a40e2190a Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Tue, 30 Sep 2025 23:14:42 -0400 Subject: np: lex: Detect '*' token (TT_STAR) Signed-off-by: Ian Moffett --- src/sys/np/core/np_lex.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/sys/np/core/np_lex.c') diff --git a/src/sys/np/core/np_lex.c b/src/sys/np/core/np_lex.c index 2b47dd9..f870c0c 100644 --- a/src/sys/np/core/np_lex.c +++ b/src/sys/np/core/np_lex.c @@ -194,6 +194,9 @@ lex_nom(struct np_work *work, struct lex_token *res) case ',': res->token = TT_COMMA; break; + case '*': + res->token = TT_STAR; + break; default: /* Stuff like '1var_name' is invalid */ if (!is_alpha(c)) { -- cgit v1.2.3