Skip to content

fix: use case-insensitive sort and remove trailing whitespace in preprocessor#57

Merged
chrispcampbell merged 1 commit into
developfrom
chris/55-sort-case-insensitive
Dec 10, 2020
Merged

fix: use case-insensitive sort and remove trailing whitespace in preprocessor#57
chrispcampbell merged 1 commit into
developfrom
chris/55-sort-case-insensitive

Conversation

@chrispcampbell
Copy link
Copy Markdown
Contributor

This fixes the case insensitivity part of the previous commit, and improves upon it by also removing trailing whitespace and fixing the placement of the comment marker so that the markers are consistent for all declarations.

I've also added a test that checks that the output of the preprocessor matches a reference mdl file.

Fixes #55

@chrispcampbell chrispcampbell merged commit d58390a into develop Dec 10, 2020
@chrispcampbell chrispcampbell deleted the chris/55-sort-case-insensitive branch December 10, 2020 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sort equations alphabetically when preprocessing mdl file

1 participant