-
-
Notifications
You must be signed in to change notification settings - Fork 261
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
Update mod.rs #895
Update mod.rs #895
Conversation
Change indent.
I'll delete some old codes later
Fix a wrong change imported before
Fix warnings
Merge a part of Rule into Atomic and NonAtomic; fix tests.
Abandon Atomic and NonAtomic.
Separate codes into different modules.
Compress nested option by flatten().
Fix an error of implementation of Display for OptimizedExpr, which will break the line when it contains a control character.
Fix an error of implementation of Display for OptimizedExpr, which will break the line when it contains a control character such as \n or \r.
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.
@TheVeryDarkness it seems ok -- can you perhaps add unit tests that demonstrate the bug this change fixed?
Improve the implementation of Display for OptimizedExpr, which will break the line when it contains a control character such as \n or \r.
Make codes a little easier to read.
Add several tests and fix a test.
@tomtau yes, I add several tests and add some improvement to my implementation. |
I'm wondering why github is showing the commit from another branch master but not patch2, which is used to deal with Display. |
Oops, I create the new branch based on my working branch by mistake. I'll create a new branch and a new pull request then. |
Not related changes included in previous pull request pest-parser#895.
Fix an error of implementation of Display for OptimizedExpr, which will break the line when it contains a control character such as \n or \r.