aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.c b/src/parser.c
index d2832a1..e5114dc 100644
--- a/src/parser.c
+++ b/src/parser.c
@@ -236,7 +236,7 @@ tokdel(int beg, int end)
236 if (end >= beg) { 236 if (end >= beg) {
237 if (end < tos) 237 if (end < tos)
238 memmove(token_stack + beg, token_stack + end + 1, 238 memmove(token_stack + beg, token_stack + end + 1,
239 (end - beg + 1) * sizeof(token_stack[0])); 239 (tos - end - 1) * sizeof(token_stack[0]));
240 tos -= (end - beg + 1); 240 tos -= (end - beg + 1);
241 } 241 }
242} 242}

Return to:

Send suggestions and report system problems to the System administrator.