Changeset e3f2765 in mainline for uspace/dist/src/bithenge/test-repeat.bh
- Timestamp:
- 2012-08-04T00:56:49Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c3437d9
- Parents:
- 0caaaa00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/dist/src/bithenge/test-repeat.bh
r0caaaa00 re3f2765 1 transform main= struct {1 transform with_count = struct { 2 2 .none <- repeat(0) { uint8 }; 3 3 .one <- repeat(1) { uint8 }; … … 5 5 .many <- repeat(.count) { uint8 }; 6 6 }; 7 8 transform without_count = struct { 9 .error <- repeat { uint8 <- zero_terminated }; 10 .end <- repeat { uint8 }; 11 }; 12 13 transform main = struct { 14 .with_count <- with_count; 15 .without_count <- without_count; 16 };
Note:
See TracChangeset
for help on using the changeset viewer.