summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOxore <oxore@protonmail.com>2023-08-07 00:24:31 +0300
committerOxore <oxore@protonmail.com>2023-08-07 00:24:31 +0300
commit5c5c60a18b41d2f5a077d5fa8fa8b266db537578 (patch)
tree2a4703d1bdda12bee4496a381ad35687c9e9d5e0
parente73d751459a5777809a18ec322e3e7f6db59ce9d (diff)
Remove obsolete comment
-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') {