Skip to content

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
@9999years 9999years requested a review from Gabriella439 June 21, 2024 20:40
@linear
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
@9999years 9999years deleted the wiggles/dux-2346-use-line_ending_or_eof-parser-consistently branch June 21, 2024 20:57
@github-actions
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.

3 participants