|
|
|
@ -133,7 +133,7 @@ fn getStartingNodes(nodes: *const Nodes) CurrentNodes { |
|
|
|
|
var starting_nodes = std.mem.zeroes(CurrentNodes); |
|
|
|
|
var current_index: usize = 0; |
|
|
|
|
for (nodes.*) |node| { |
|
|
|
|
if (node.current_label != 0 and node.current_label & FIVE_BITS == 0) { |
|
|
|
|
if (node.line_index != 0 and node.current_label & FIVE_BITS == 0) { |
|
|
|
|
if (current_index == 0) { |
|
|
|
|
for (&starting_nodes) |*starting_node| { |
|
|
|
|
starting_node.* = node.line_index; |
|
|
|
|