| 1 | .Ss Group |
| 2 | .Bd -literal |
| 3 | module Group; |
| 4 | .Ed |
| 5 | .Bd -filled -offset indent -compact |
| 6 | Group: a comment before const, type or var heads its group. |
| 7 | Doc's test of it. |
| 8 | .Ed |
| 9 | .Bd -filled -offset indent -compact |
| 10 | Colours, one bit each. |
| 11 | .Ed |
| 12 | .Bd -literal |
| 13 | const Red* = 1; (* the first *) |
| 14 | const Green* = 2; |
| 15 | const Blue* = 4; (* the last *) |
| 16 | .Ed |
| 17 | .Bd -filled -offset indent -compact |
| 18 | Where it is. |
| 19 | .Ed |
| 20 | .Bd -literal |
| 21 | type Point* = record x*, y*: INT; end; (* one place *) |
| 22 | .Ed |
| 23 | .Bd -filled -offset indent -compact |
| 24 | A comment that stands alone. |
| 25 | .Ed |
| 26 | .Bd -literal |
| 27 | var count*: INT; |
| 28 | .Ed |