| author | |
| committer | |
| log | 4617c5907a4b7933947a3223d19d637d143fd705 |
| tree | 5674b241a5d66317e7065c5d2719a62f6667200b |
| parent | 82225f6568969856ffe9363d2b8b0f39548bd9df |
1 files changed, 1 insertions(+), 3 deletions(-)
lib/std/zig/parse.zig+1-3| ... | ... | @@ -3296,11 +3296,9 @@ const Parser = struct { |
| 3296 | 3296 | .index = p.tok_i, |
| 3297 | 3297 | .ptr = &p.tokens[p.tok_i], |
| 3298 | 3298 | }; |
| 3299 | if (p.tokens[p.tok_i].id == .Eof) { | |
| 3300 | return result; | |
| 3301 | } | |
| 3302 | 3299 | p.tok_i += 1; |
| 3303 | 3300 | assert(result.ptr.id != .LineComment); |
| 3301 | if (p.tok_i >= p.tokens.len) return result; | |
| 3304 | 3302 | |
| 3305 | 3303 | while (true) { |
| 3306 | 3304 | const next_tok = p.tokens[p.tok_i]; |