Skip to content
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

Allow number of items per line to vary when pretty printing. #31

Open
schwerdf opened this issue Dec 20, 2017 · 0 comments
Open

Allow number of items per line to vary when pretty printing. #31

schwerdf opened this issue Dec 20, 2017 · 0 comments

Comments

@schwerdf
Copy link
Contributor

Currently, the pretty-printing methods responsible for printing lists of grammar symbols for Copper's error messages [1] have the caller specify a fixed number of items per line.

This should be changed to allow the caller to specify the maximum number of characters per line, as well as whether the items must be specified in order, allowing the number of items per line to vary and an optimal use made of space.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant