Strip even more semicolons if followed by a } or ) on the same line

This commit is contained in:
gingerBill
2021-08-31 23:47:57 +01:00
parent 773a766b83
commit 720884e0f1
36 changed files with 2096 additions and 2096 deletions
+4 -4
View File
@@ -367,8 +367,8 @@ quick_sort_proc :: proc(array: $A/[]$T, f: proc(T, T) -> int) {
i, j := 0, n-1
loop: for {
for f(a[i], p) < 0 { i += 1; }
for f(p, a[j]) < 0 { j -= 1; }
for f(a[i], p) < 0 { i += 1 }
for f(p, a[j]) < 0 { j -= 1 }
if i >= j {
break loop
@@ -395,8 +395,8 @@ quick_sort :: proc(array: $A/[]$T) where intrinsics.type_is_ordered(T) {
i, j := 0, n-1
loop: for {
for a[i] < p { i += 1; }
for p < a[j] { j -= 1; }
for a[i] < p { i += 1 }
for p < a[j] { j -= 1 }
if i >= j {
break loop