aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/preprocess.h
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-09-13 00:05:12 +0900
committernsfisis <nsfisis@gmail.com>2025-09-13 01:38:56 +0900
commit8de7fa9da5fd8015f4fcc826b9270061b7b89478 (patch)
treeec9c1e56f179be207c31a113a0a96210f7509431 /src/preprocess.h
parentd41a97e957ef616d194f60b9b79820cd0162d920 (diff)
downloadducc-8de7fa9da5fd8015f4fcc826b9270061b7b89478.tar.gz
ducc-8de7fa9da5fd8015f4fcc826b9270061b7b89478.tar.zst
ducc-8de7fa9da5fd8015f4fcc826b9270061b7b89478.zip
feat: implement -E flag (preprocess only)
Diffstat (limited to 'src/preprocess.h')
-rw-r--r--src/preprocess.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/preprocess.h b/src/preprocess.h
index 81007c3..5449857 100644
--- a/src/preprocess.h
+++ b/src/preprocess.h
@@ -1,10 +1,12 @@
#ifndef DUCC_PREPROCESS_H
#define DUCC_PREPROCESS_H
+#include <stdio.h>
#include "common.h"
#include "io.h"
#include "token.h"
TokenArray* preprocess(InFile* src, StrArray* included_files);
+void print_token_to_file(FILE* output_file, TokenArray* pp_tokens);
#endif