Changeset 0c327ce for src/ControlStruct
- Timestamp:
- Jul 12, 2024, 3:30:06 PM (7 days ago)
- Branches:
- master
- Children:
- 76b507d
- Parents:
- 9c447e2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ControlStruct/TranslateEnumRange.cpp
r9c447e2 r0c327ce 81 81 ast::UntypedExpr::createCall( location, "upperBound", {} ) }); 82 82 auto increment = ast::UntypedExpr::createCall( location, 83 stmt->is_inc? "succ ": "pred",83 stmt->is_inc? "succ_unsafe": "pred_unsafe", 84 84 { new ast::NameExpr( location, indexName ) }); 85 85 auto assig = ast::UntypedExpr::createAssign( location, new ast::NameExpr( location, indexName ), increment );
Note: See TracChangeset
for help on using the changeset viewer.