Explorar el Código

Fixed bad commenting habits

main
Ludovic 'Archivist' Lagouardette hace 6 meses
padre
commit
badef437ff
Se han modificado 1 ficheros con 5 adiciones y 5 borrados
  1. +5
    -5
      lib.c

+ 5
- 5
lib.c Ver fichero

@ -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);
}

Cargando…
Cancelar
Guardar