lexer: Add token for '#ifndef' directive

Signed-off-by: Ian Moffett <ian@mirocom.org>
This commit is contained in:
2026-02-15 15:55:43 -05:00
parent 508ef51fc8
commit 7708c3d89e
3 changed files with 7 additions and 0 deletions

View File

@@ -57,6 +57,7 @@ static const char *toktab[] = {
[TT_EXTERN] = qtok(".extern"),
[TT_DEFINE] = qtok("#define"),
[TT_IFDEF] = qtok("#ifdef"),
[TT_IFNDEF] = qtok("#ifndef"),
[TT_ENDIF] = qtok("#endif")
};