issues
search
dalance
/
sv-parser
SystemVerilog parser library fully compliant with IEEE 1800-2017
Other
396
stars
52
forks
source link
Implement the std::fmt::Debug trait.
#70
Closed
DaveMcEwan
closed
1 year ago
DaveMcEwan
commented
1 year ago
Based on the Display trait, but includes whitespace.
The format of each line is slightly different, with
@line:123
appearing before the token's string.
This is to reduce the chances of grep-based tools getting confused.
This also makes it easier to display whitespace/comments.
No additional testcases are added, same as Display.
Tested via local build in svlint development.
Immediately, useful for debugging
style_*
rules in svlint. Later, intended to be used debugging
sv_parser_pp::preprocess()
.
@line:123
appearing before the token's string.style_*
rules in svlint. Later, intended to be used debuggingsv_parser_pp::preprocess()
.