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

Fix incorrect align when underlining lines with tab... #408

Merged
merged 1 commit into from
Aug 24, 2019

Conversation

cr0sh
Copy link
Contributor

@cr0sh cr0sh commented Aug 19, 2019

...character

Fixes #407

Note: Error::underline now prints not only prefixes space but tabs if underlining line contains it, so I'm concerned about if this commit breaks backwards compatibility.

@CAD97
Copy link
Contributor

CAD97 commented Aug 20, 2019

This looks fine to me. r? @dragostis

@CAD97 CAD97 requested a review from dragostis August 20, 2019 12:47
@dragostis
Copy link
Contributor

bors r+

bors bot added a commit that referenced this pull request Aug 24, 2019
408: Fix incorrect align when underlining lines with tab... r=dragostis a=cr0sh

...character

Fixes #407

Note: `Error::underline` now prints not only prefixes space but tabs if underlining line contains it, so I'm concerned about if this commit breaks backwards compatibility.

Co-authored-by: Nam Jeonghyun <ska827@naver.com>
@bors
Copy link
Contributor

bors bot commented Aug 24, 2019

Build succeeded

@bors bors bot merged commit 1aa8cdc into pest-parser:master Aug 24, 2019
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.

Error message underlines incorrect position if the pattern includes "\t"
3 participants