diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-08-02 00:43:39 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-08-15 10:06:21 +0900 |
| commit | 0d8eeaad5427840c1977654749c0f2e79644222e (patch) | |
| tree | 7f6ceebefdea88da8e2e8fb8321b63a2e711c877 | |
| parent | 0b55f60c77e181e61dd84bf6da3416bb88488116 (diff) | |
| download | ducc-0d8eeaad5427840c1977654749c0f2e79644222e.tar.gz ducc-0d8eeaad5427840c1977654749c0f2e79644222e.tar.zst ducc-0d8eeaad5427840c1977654749c0f2e79644222e.zip | |
fix: fix error message in preprocessing
| -rw-r--r-- | preprocess.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/preprocess.c b/preprocess.c index 36885ab..8607fdf 100644 --- a/preprocess.c +++ b/preprocess.c @@ -641,7 +641,7 @@ PpToken* process_include_directive(Preprocessor* pp, PpToken* tok) { tok2 = read_include_header_name(tok2, include_name); const char* include_name_buf = resolve_include_name(pp, include_name); if (include_name_buf == NULL) { - fatal_error("cannot resolve include file name: %s", include_name_buf); + fatal_error("cannot resolve include file name: %.*s", include_name->len, include_name->data); } return expand_include_directive(pp, tok, tok2, include_name_buf); } |
