core: lexer: Add comment skipping

Signed-off-by: Chloe M. <chloe@mirocom.org>
This commit is contained in:
2026-05-23 08:09:05 -04:00
parent 50bd6324fe
commit 3e3ccae003
3 changed files with 43 additions and 11 deletions
+1
View File
@@ -12,6 +12,7 @@
typedef enum {
TT_NONE, /* [none] */
TT_IDENT, /* [identifier] */
TT_COMMENT, /* [comment : ignored] */
TT_INTLIT, /* [0-9]+ */
TT_LPAREN, /* '(' */
TT_RPAREN, /* '( */