aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/token.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/token.c')
-rw-r--r--src/token.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/token.c b/src/token.c
index 40463cd..71eabaf 100644
--- a/src/token.c
+++ b/src/token.c
@@ -44,6 +44,8 @@ const char* token_kind_stringify(TokenKind k) {
return "#include";
else if (k == TokenKind_pp_directive_line)
return "#line";
+ else if (k == TokenKind_pp_directive_nop)
+ return "#";
else if (k == TokenKind_pp_directive_pragma)
return "#pragma";
else if (k == TokenKind_pp_directive_undef)