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