about summary refs log tree commit diff
path: root/boot/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'boot/tree.c')
-rw-r--r--boot/tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/boot/tree.c b/boot/tree.c
index 8c00c53..4bac27e 100644
--- a/boot/tree.c
+++ b/boot/tree.c
@@ -981,8 +981,8 @@ enum Tree_Statement_Loop_Style
     TREE_STATEMENT_LOOP_STYLE_NONE,
     TREE_STATEMENT_LOOP_STYLE_C,        // for i int = 0; i < 10; ++i {}
     TREE_STATEMENT_LOOP_STYLE_FOR_EACH, // for x Obj = list {}
-    TREE_STATEMENT_LOOP_STYLE_WHILE,    // while true {}
-    TREE_STATEMENT_LOOP_STYLE_ENDLESS,  // while {}
+    TREE_STATEMENT_LOOP_STYLE_WHILE,    // while cond {}
+    TREE_STATEMENT_LOOP_STYLE_ENDLESS,  // loop {}
 };
 
 // stands for both `for` and `while` loops.