| author | |
| committer | |
| log | ada72c7aa91600f6bbc7d45f6efe09d6104dc93a |
| tree | 6a5466e876169f1a1c7a625017d167757f1378d9 |
| parent | c64b885c829e38ed6033290cda916f6c9ffdab81 |
1 files changed, 1 insertions(+), 0 deletions(-)
src/AstGen.zig+1| ... | ... | @@ -10566,6 +10566,7 @@ fn advanceSourceCursor(astgen: *AstGen, source: []const u8, end: usize) void { |
| 10566 | 10566 | var i = astgen.source_offset; |
| 10567 | 10567 | var line = astgen.source_line; |
| 10568 | 10568 | var column = astgen.source_column; |
| 10569 | assert(i <= end); | |
| 10569 | 10570 | while (i < end) : (i += 1) { |
| 10570 | 10571 | if (source[i] == '\n') { |
| 10571 | 10572 | line += 1; |