소스 검색

Fixed bad commenting habits

main
Ludovic 'Archivist' Lagouardette 4 달 전
부모
커밋
badef437ff
1개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. +5
    -5
      lib.c

+ 5
- 5
lib.c 파일 보기

@ -1467,10 +1467,10 @@ static void push_delimited_array(struct context* ctx) {
break;
}
}
o">// Save for cleanup
cm">/* Save for cleanup */
counter = idx;
o">// Don't copy the delimiter
cm">/* Don't copy the delimiter */
idx -= 1;
ary->elements = malloc(sizeof(struct elem) * idx);
@ -1481,17 +1481,17 @@ static void push_delimited_array(struct context* ctx) {
ary->capacity = idx;
ary->top = 0;
o">// Copy the data
cm">/* Copy the data */
for(i = currentRoutine->top - idx; i < currentRoutine->top; ++i) {
ary->elements[ary->top] = currentRoutine->stack[i];
++(ary->top);
}
o">// Cleanup
cm">/* Cleanup */
while(counter--) {
ink_pop(ctx);
}
o">// Put value in place
cm">/* Put value in place */
ink_push(ctx, a);
}

불러오는 중...
취소
저장