diff options
Diffstat (limited to 'test/2.cff')
| -rw-r--r-- | test/2.cff | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -6,6 +6,17 @@ bitfield Foo : u16 { num 10 signed, } +#{ + Test block comment, + contains tokens " ", + this does not end the comment -> '}' + 8ab + #test + i`m having to use backtick instead of single quote for the apostrophe in this phrase, + so the main use is for commenting out code, + and inline comments to annotate e.g. parameter names +} + extern fn main() int { let foo Foo = {}; printf("0x%X: %d, %d, %d\n", foo.#raw, foo.tag, foo.flag, foo.num); |