From ec3f0a41258099b4aa04ce236d062ffe0580f27d Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Wed, 1 Oct 2025 16:32:58 -0400 Subject: np: lex: Add TT_NONE token for invalid types Signed-off-by: Ian Moffett --- src/sys/include/np/lex.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/sys/include/np/lex.h') diff --git a/src/sys/include/np/lex.h b/src/sys/include/np/lex.h index 9c6e69e..cbbc403 100644 --- a/src/sys/include/np/lex.h +++ b/src/sys/include/np/lex.h @@ -47,6 +47,9 @@ struct np_work; * possible */ typedef enum { + /* Reserved */ + TT_NONE, /* Always invalid */ + /* Symbols */ TT_LPAREN, /* '(' */ TT_RPAREN, /* ')' */ -- cgit v1.2.3