Closed kishiguro closed 8 months ago
Hello @kishiguro,
first of all thanks a lot for dealing with parol
.
I appreciate any kind of feedback and contribution.
The problem you encountered is actually already forseen. The command line tool provides an argument named --inner-attributes and the Builder provides a similar API called inner_attributes(). On both you can specifiy so called inner attributes, i.e. the ones at the beginning of a file (#![). They are later inserted into the generated files for you.
I know that there is a little shortage of tests regarding this feature. Therefore I would like you to test this for me and report me whether it worked for you.
Let me know if you need more information about applying one of those ways. I will give you further support.
@jsinger67 oh, i see. thanks for the detailed explanation. let me close this PR. parol
is really great tool. i really admire your great work!
Recently I had following clippy warnings for generated grammar trait. Here is a patch to suppress the warning.