rust-lang / gll

GLL parsing framework.
Apache License 2.0
138 stars 25 forks source link

Forest Debug repr includes useless Span..Span #104

Closed CAD97 closed 5 years ago

CAD97 commented 5 years ago

When parsing in proc_macro mode on proc_macro2, the span debug representation is just Span..Span, which is less than useful. Somewhat meaningfully, this means that the debug representation's IDENT (and other token) fields just show as Span..Span, whereas it would be more meaningful to show the content of the span, if we can't get location information.

CAD97 commented 5 years ago

Solution: proc_macro2 semver exempt features.