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

[NFCI] Use line_ending_or_eof consistently in parsers #300

Merged

Conversation

9999years
Copy link
Member

This is useful for line-oriented parsers that may consume input with no trailing newline character. While this is a violation of the POSIX spec, VS Code does it by default.

Split off from #297

This is useful for line-oriented parsers that may consume input with no
trailing newline character. While this is a [violation of the POSIX
spec][posix], VS Code [does it by default][vscode].

[posix]: https://stackoverflow.com/a/729795
[vscode]: https://stackoverflow.com/questions/44704968/visual-studio-code-insert-newline-at-the-end-of-files
Copy link

linear bot commented Jun 21, 2024

@github-actions github-actions bot added the patch Bug fixes or non-functional changes label Jun 21, 2024
@9999years 9999years merged commit aacc5b1 into main Jun 21, 2024
40 checks passed
@9999years 9999years deleted the wiggles/dux-2346-use-line_ending_or_eof-parser-consistently branch June 21, 2024 20:57
Copy link
Contributor

@9999years 9999years mentioned this pull request Jun 21, 2024
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Bug fixes or non-functional changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants