aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--stack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stack.c b/stack.c
index f0624c8..d719cb3 100644
--- a/stack.c
+++ b/stack.c
@@ -11,7 +11,7 @@ PositionStack ps_new(void) {
}
int ps_push(PositionStack *ps, Position pos) {
- if (ps->top >= STACK_SIZE) return -1;
+ if (ps->top >= STACK_SIZE) return -1; /* FIXME: do a dynamic stack */
ps->arr[ps->top] = pos;
ps->top += 1;
return 0;