diff options
Diffstat (limited to 'stack.c')
| -rw-r--r-- | stack.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |
