diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-08-17 13:18:15 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-08-18 03:52:44 +0900 |
| commit | 2a7e1667f70c5381d3b939324cc647e51134b15c (patch) | |
| tree | e6d6d5bc285aadbae20c99dbcf0a653f78dda4c3 /main.c | |
| parent | d90a9c83a253b71e7731a44657f998a361a41b97 (diff) | |
| download | ducc-2a7e1667f70c5381d3b939324cc647e51134b15c.tar.gz ducc-2a7e1667f70c5381d3b939324cc647e51134b15c.tar.zst ducc-2a7e1667f70c5381d3b939324cc647e51134b15c.zip | |
refactor: direct array access with infile_*() helper functions
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -15,7 +15,7 @@ int main(int argc, char** argv) { if (argc == 1) { fatal_error("usage: ducc <FILE>"); } - InFile* source = read_all(argv[1]); + InFile* source = infile_open(argv[1]); TokenArray* pp_tokens = preprocess(source); TokenArray* tokens = tokenize(pp_tokens); Program* prog = parse(tokens); |
