diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-07-20 17:39:12 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-08-15 10:04:20 +0900 |
| commit | 8dfdbc9cf84be2d82960784f70a2e00378fca5c5 (patch) | |
| tree | 30c0e13a6bbdf8a38ad9d304c1cb37b2dfb0a116 | |
| parent | 88d01cd637ae2b7d6c7c2e721eb98a72160c44e2 (diff) | |
| download | ducc-8dfdbc9cf84be2d82960784f70a2e00378fca5c5.tar.gz ducc-8dfdbc9cf84be2d82960784f70a2e00378fca5c5.tar.zst ducc-8dfdbc9cf84be2d82960784f70a2e00378fca5c5.zip | |
refactor: rename function
| -rw-r--r-- | main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -372,7 +372,7 @@ void pp_tokenize_all(Preprocessor* pp) { } } -void pp_execute_pp_directive(Preprocessor* pp) { +void process_pp_directives(Preprocessor* pp) { PpToken* tok = pp->pp_tokens; PpToken* define_dest; while (tok->kind != PpTokenKind_eof) { @@ -426,7 +426,7 @@ void pp_execute_pp_directive(Preprocessor* pp) { PpToken* preprocess(char* src) { Preprocessor* pp = preprocessor_new(src); pp_tokenize_all(pp); - pp_execute_pp_directive(pp); + process_pp_directives(pp); return pp->pp_tokens; } |
