mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-23 16:52:18 +01:00
Make the "true" in "while true { etc }" mandatory.
This commit is contained in:
1 parent
1d3ae23418
commit
23020e7d60
3 files changed
+16
-24
No files matched your search
+2
-2
@@ -283,8 +283,8 @@ func NewField(name t.ID, xType *TypeExpr) *Field {
|
||||
}
|
||||
}
|
||||
|
||||
// While is "while { List1 }" or "while LHS { List1 }":
|
||||
// - LHS: <nil|Expr>
|
||||
// While is "while LHS, List0 { List1 }":
|
||||
// - LHS: <Expr>
|
||||
// - List0: <Assert> asserts
|
||||
// - List1: <*> loop body
|
||||
type While Node
|
||||
|
||||
Reference in new issue
Block a user