15 lines
275 B
Plaintext
15 lines
275 B
Plaintext
# Automatically generated; edit in Sphinx source code, not here.
|
|
module Test;
|
|
|
|
public type Foo = unit {
|
|
f: bitfield(32) {
|
|
x1: 0;
|
|
x2: 1..2;
|
|
x3: 3..4;
|
|
};
|
|
|
|
on %done {
|
|
print self.f.x1, self.f.x2, self.f.x3;
|
|
print self;
|
|
}
|
|
}; |