You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using syn to implement a preprocessor which outputs Rust code (and needs to do some things that are hard to do with proc macros), and want it to handle shebangs the same way that Rust does. Lacking a function like the one above, this requires me to make a wholesale copy of syn's private whitespace module and an almost-wholesale copy of parse_file. Having it available would let me avoid such code duplication.
The text was updated successfully, but these errors were encountered:
It would be useful to have a function available with a signature of
I'm using
syn
to implement a preprocessor which outputs Rust code (and needs to do some things that are hard to do with proc macros), and want it to handle shebangs the same way that Rust does. Lacking a function like the one above, this requires me to make a wholesale copy of syn's privatewhitespace
module and an almost-wholesale copy ofparse_file
. Having it available would let me avoid such code duplication.The text was updated successfully, but these errors were encountered: