Make endwhile mandatory for nameless loops

This commit is contained in:
Nigel Tao committed 2020-03-25 21:40:00 +11:00
1 parent 3c38f671fa
commit 58351d44da
15 files changed
+138 -136

No files matched your search

+1 -1
View File
@@ -539,7 +539,7 @@ func NewIterate(label t.ID, assigns []*Node, length t.ID, unroll t.ID, asserts [
}
}
// While is "while.ID1 MHS, List1 { List2 }":
// While is "while.ID1 MHS, List1 { List2 } endwhile.ID1":
// - FlagsHasBreak is the while has an explicit break
// - FlagsHasContinue is the while has an explicit continue
// - ID1: <0|label>