aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main.c
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-09-15 12:21:04 +0900
committernsfisis <nsfisis@gmail.com>2025-09-15 12:21:04 +0900
commit93c25fde8b26da97a7984c48cbc9f0f7f6037483 (patch)
treed0c7c1a6ae51b4e12e0aa9cd3903d5ee6e60b1cd /src/main.c
parent205da8acb1ff3c4e316ae810b5776ed9892cdf92 (diff)
downloadducc-93c25fde8b26da97a7984c48cbc9f0f7f6037483.tar.gz
ducc-93c25fde8b26da97a7984c48cbc9f0f7f6037483.tar.zst
ducc-93c25fde8b26da97a7984c48cbc9f0f7f6037483.zip
refactor: move tokenization code from preprocess.c to tokenize.c
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index bcb3697..a72b4f0 100644
--- a/src/main.c
+++ b/src/main.c
@@ -34,7 +34,7 @@ int main(int argc, char** argv) {
return 0;
}
- TokenArray* tokens = tokenize(pp_tokens);
+ TokenArray* tokens = convert_pp_tokens_to_tokens(pp_tokens);
Program* prog = parse(tokens);
const char* assembly_filename;