summaryrefslogtreecommitdiff
path: root/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'types.h')
-rw-r--r--types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/types.h b/types.h
index 38262e6..ed8d792 100644
--- a/types.h
+++ b/types.h
@@ -889,7 +889,8 @@ typedef struct ForExpr {
union {
/* (either) can be null */
struct Expression *step; /* before typing */
- Value *stepval; /* after typing */
+ Value *stepval; /* after typing. the type of this is header.type.tuple[0] (i.e. the value type for this for loop),
+ NOTE: this might be different from the original ForExpr.step.type, because of implicit type conversions. */
};
} range;
struct Expression *of;