mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-02 12:48:14 +00:00
inline for loops (only for 'in' based for loops)
This commit is contained in:
@@ -276,6 +276,9 @@ struct CheckerContext {
|
||||
CheckerPolyPath *poly_path;
|
||||
isize poly_level; // TODO(bill): Actually handle correctly
|
||||
|
||||
#define MAX_INLINE_FOR_DEPTH 1024ll
|
||||
i64 inline_for_depth;
|
||||
|
||||
bool in_enum_type;
|
||||
bool collect_delayed_decls;
|
||||
bool allow_polymorphic_types;
|
||||
|
||||
Reference in New Issue
Block a user