hare

The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit 966678e0657112b34e239dc6aba4461daf91388c
parent 5c8587723a3df319a0f690bb564af5b1ba4f7ab0
Author: Sebastian <sebastian@sebsite.pw>
Date:   Sun,  1 May 2022 23:11:50 -0400

hare::ast: remove label from for_expr doc comment

The label is associated with the compound expression body, not the loop
itself.

Signed-off-by: Sebastian <sebastian@sebsite.pw>

Diffstat:
Mhare/ast/expr.ha | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hare/ast/expr.ha b/hare/ast/expr.ha @@ -253,9 +253,9 @@ export type delete_expr = struct { is_static: bool, }; -// A for loop. The label is set to empty string if absent. +// A for loop. // -// :label for (let foo = 0; foo < bar; baz) quux +// for (let foo = 0; foo < bar; baz) quux export type for_expr = struct { bindings: nullable *expr, cond: *expr,