diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-08-29 02:17:00 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-08-29 02:17:00 +0900 |
| commit | 8f352553faec69a6f29854898b93be47604aff28 (patch) | |
| tree | 207a829278d5b9a95396d7dddc092c661e71f97a /src/io.c | |
| parent | fc396d2b088a8b837f65b1e55a424372ade8bd37 (diff) | |
| download | ducc-8f352553faec69a6f29854898b93be47604aff28.tar.gz ducc-8f352553faec69a6f29854898b93be47604aff28.tar.zst ducc-8f352553faec69a6f29854898b93be47604aff28.zip | |
fix: line number count
Diffstat (limited to 'src/io.c')
| -rw-r--r-- | src/io.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -60,6 +60,7 @@ char infile_peek_char(InFile* f) { // TODO: crlf if (c2 == '\r' || c2 == '\n') { f->pos += 2; + ++f->loc.line; return infile_peek_char(f); } } |
