frontend: lexer: Add scanning of .cc and .ld directives

Signed-off-by: Ian Moffett <ian@mirocom.org>
This commit is contained in:
2026-03-21 15:41:09 -04:00
parent 520d2176a2
commit 046e49c7b3
3 changed files with 57 additions and 0 deletions

View File

@@ -18,6 +18,8 @@ typedef enum {
TT_NONE, /* [none] */
TT_NAME, /* [name] */
TT_NEWLINE, /* [newline] */
TT_CC, /* '.cc' */
TT_LD, /* '.ld' */
TT_COLON, /* ':' */
TT_COLONDUB, /* '::' */
} tt_t;