فهرست منبع

Clarified a comment

Steven Hall 8 سال پیش
والد
کامیت
592f9ba4b9
1فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 3 3
      src/runtime/gravity_core.c

+ 3 - 3
src/runtime/gravity_core.c

@@ -1593,9 +1593,9 @@ static int parse_arguments_for_upper_and_lower(gravity_vm *vm, int (*is_case)(in
 			++iterations;
 		} while(isNotInfiniteLoop = iterations < ret_len);
 								// Breaks out when no matches are found
-								// We should never break out of this loop by this condition, as
-								// we should break out once we have no more matches. This is
-								// just a fail safe.
+								// We should never break out of this loop by this while
+								// condition, as we should break out once we have no more
+								// matches (when ptr == NULL). This is just a fail safe.
 		if (!isNotInfiniteLoop) {
 			return -2;
 		}