mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-07 22:34:28 +00:00
parent
1d1e5a8617
commit
b9f75a39d3
1 changed files with 1 additions and 1 deletions
|
|
@ -313,7 +313,7 @@ const Parse = struct {
|
||||||
var buf: [2]Ast.Node.Index = undefined;
|
var buf: [2]Ast.Node.Index = undefined;
|
||||||
const array_init = ast.fullArrayInit(&buf, node) orelse {
|
const array_init = ast.fullArrayInit(&buf, node) orelse {
|
||||||
const tok = main_tokens[node];
|
const tok = main_tokens[node];
|
||||||
return fail(p, tok, "expected paths expression to be a struct", .{});
|
return fail(p, tok, "expected paths expression to be a list of strings", .{});
|
||||||
};
|
};
|
||||||
|
|
||||||
for (array_init.ast.elements) |elem_node| {
|
for (array_init.ast.elements) |elem_node| {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue