aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/token.h
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-08-28 00:15:17 +0900
committernsfisis <nsfisis@gmail.com>2025-08-28 00:15:17 +0900
commit7c1f940960c3548b788b089c02e4dfd8277bf8fa (patch)
treed426643b97856003310909fd91bc5e982fee39d7 /src/token.h
parent82198e776761a6f3f16373d7be2be432b0e76854 (diff)
downloadducc-7c1f940960c3548b788b089c02e4dfd8277bf8fa.tar.gz
ducc-7c1f940960c3548b788b089c02e4dfd8277bf8fa.tar.zst
ducc-7c1f940960c3548b788b089c02e4dfd8277bf8fa.zip
refactor: remove pp directives in separate phase
Diffstat (limited to 'src/token.h')
-rw-r--r--src/token.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/token.h b/src/token.h
index 3ff5e2b..7e78dfa 100644
--- a/src/token.h
+++ b/src/token.h
@@ -146,6 +146,7 @@ enum TokenKind {
typedef enum TokenKind TokenKind;
const char* token_kind_stringify(TokenKind k);
+BOOL is_pp_directive(TokenKind k);
// TokenValue is externally tagged by Token's kind.
union TokenValue {