Closed hellow554 closed 3 months ago
I would like to use ui_test for an assembler written in rust where ; is used to start comments.
ui_test
;
There are only a few places in https://github.com/oli-obk/ui_test/blob/main/src/parser.rs which needs to be adjustet.
Since there's already a custom_comments field, wouldn't it be possible to either adjust that field to parse the //@ respectively ;@ beginning or introduce a new field on config named comment_prefix or similar.
custom_comments
//@
;@
comment_prefix
What do you think?
Yea I want to support this, but am not sure yet how to best make it configurable. We'll probably need to try out a few schemes and see what is best
I would like to use
ui_test
for an assembler written in rust where;
is used to start comments.There are only a few places in https://github.com/oli-obk/ui_test/blob/main/src/parser.rs which needs to be adjustet.
Since there's already a
custom_comments
field, wouldn't it be possible to either adjust that field to parse the//@
respectively;@
beginning or introduce a new field on config namedcomment_prefix
or similar.What do you think?