hohav / peppi

Rust parser for Slippi SSBM replay files
MIT License
37 stars 9 forks source link

Support doc comments within `pseudo_bitmask!` and `pseudo_enum!` macros #56

Closed NickCondron closed 9 months ago

NickCondron commented 1 year ago

This allows documenting the constants within the expanded macros.

For example:

Screenshot from 2023-03-01 23-07-04 Screenshot from 2023-03-01 23-08-31

I couldn't figure out a good way to avoid ambiguity in pseudo_bitmask, so I added the parens around the expr.

hohav commented 9 months ago

Closing as no longer relevant.