| ... | ... | @@ -118,7 +118,7 @@ pub const Node = extern union { |
| 118 | 118 | assign, |
| 119 | 119 | |
| 120 | 120 | /// @import("std").zig.c_builtins.<name> |
| 121 | | import_builtin, |
| 121 | import_c_builtin, |
| 122 | 122 | log2_int_type, |
| 123 | 123 | /// @import("std").math.Log2Int(operand) |
| 124 | 124 | std_math_Log2Int, |
| ... | ... | @@ -343,7 +343,7 @@ pub const Node = extern union { |
| 343 | 343 | .warning, |
| 344 | 344 | .type, |
| 345 | 345 | .helpers_macro, |
| 346 | | .import_builtin, |
| 346 | .import_c_builtin, |
| 347 | 347 | => Payload.Value, |
| 348 | 348 | .discard => Payload.Discard, |
| 349 | 349 | .@"if" => Payload.If, |
| ... | ... | @@ -1127,8 +1127,8 @@ fn renderNode(c: *Context, node: Node) Allocator.Error!NodeIndex { |
| 1127 | 1127 | }; |
| 1128 | 1128 | return renderStdImport(c, &chain); |
| 1129 | 1129 | }, |
| 1130 | | .import_builtin => { |
| 1131 | | const payload = node.castTag(.import_builtin).?.data; |
| 1130 | .import_c_builtin => { |
| 1131 | const payload = node.castTag(.import_c_builtin).?.data; |
| 1132 | 1132 | const chain = [_][]const u8{ |
| 1133 | 1133 | "zig", |
| 1134 | 1134 | "c_builtins", |
| ... | ... | @@ -2363,7 +2363,7 @@ fn renderNodeGrouped(c: *Context, node: Node) !NodeIndex { |
| 2363 | 2363 | .bit_xor_assign, |
| 2364 | 2364 | .assign, |
| 2365 | 2365 | .helpers_macro, |
| 2366 | | .import_builtin, |
| 2366 | .import_c_builtin, |
| 2367 | 2367 | => { |
| 2368 | 2368 | // these should never appear in places where grouping might be needed. |
| 2369 | 2369 | unreachable; |