-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unify pp_token
of Text_tokenizer with other pp
#346
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the only change that is actually needed it the addition or removal of primes for pp_token
functions. The rest makes things just a little bit too messy.
cc0c52c
to
154528c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still not fan of the change to the type names. In the context of the scanner/parser, type token = … with_loc
was fine. The main issue was only in the name of pretty-printing functions that are exported by the library. But ok anyways.
154528c
to
ad4a7b8
Compare
9e8450a
to
1f88e82
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
The old
pp_token
of Text_tokenizer didn't have a prime even though it was a pretty printer fortoken with_loc