summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/main.c b/main.c
index b8f39cd..ebc660d 100644
--- a/main.c
+++ b/main.c
@@ -932,7 +932,6 @@ static struct line_pos_info lex_get_line_pos_info(
{
struct line_pos_info l = {0, 0, 0};
bool cr = false;
- // `input` is null terminated, that's why we subtract 1 here
for (size_t i = 0; i < cursor; i++) {
const char c = self->input[i];
if (c == '\r') {