aboutsummaryrefslogtreecommitdiff
path: root/src/Zcu.zig
diff options
context:
space:
mode:
authormlugg <mlugg@mlugg.co.uk>2025-02-04 12:00:34 +0000
committermlugg <mlugg@mlugg.co.uk>2025-02-04 16:20:29 +0000
commit0907432fffd2d9f5319022332a60fc88d3aacf4e (patch)
tree2f7972c6df3344599e01d99c72b82e75e1a990aa /src/Zcu.zig
parenta8e53801d0bfe2132831b8286c4a237788aea8fa (diff)
downloadzig-0907432fffd2d9f5319022332a60fc88d3aacf4e.tar.gz
zig-0907432fffd2d9f5319022332a60fc88d3aacf4e.zip
compiler: a few renames
This is mainly in preparation for integrating ZonGen into the pipeline properly, although these names are better because `astGenFile` isn't *necessarily* running AstGen; it may determine that the current ZIR is up-to-date, or load cached ZIR.
Diffstat (limited to 'src/Zcu.zig')
-rw-r--r--src/Zcu.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Zcu.zig b/src/Zcu.zig
index 0ce43ce78d..f0262a1462 100644
--- a/src/Zcu.zig
+++ b/src/Zcu.zig
@@ -785,7 +785,7 @@ pub const File = struct {
// Here we do not modify stat fields because this function is the one
// used for error reporting. We need to keep the stat fields stale so that
- // astGenFile can know to regenerate ZIR.
+ // updateFile can know to regenerate ZIR.
file.source = source;
errdefer comptime unreachable; // don't error after populating `source`