summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWormHeamer2026-01-01 22:05:55 -0500
committerWormHeamer2026-01-01 22:05:55 -0500
commit20c772976809c4b5ea472d8279121b17716f3f5c (patch)
tree7290e74e8066f07fe746a63b081ee0e8a7b8bfa4
parent4c02da2c32fd3313897fdd5280b203d9e5d60ea6 (diff)
todo
-rw-r--r--main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.c b/main.c
index e9bc93c..17c5671 100644
--- a/main.c
+++ b/main.c
@@ -284,6 +284,8 @@ int empty_line(TxtLoc l) {
;
}
+/* TODO: support having a newline before the open brace */
+
int prev_func(TxtLoc start, TxtLoc *out) {
TxtLoc l;
if (prev_func_end(start, &l) && match_bracket(l, &l, '}')) {