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

Handle files with BOM in lexer. #285

Merged
merged 3 commits into from
Sep 18, 2021
Merged

Conversation

PJB3005
Copy link
Contributor

@PJB3005 PJB3005 commented Sep 17, 2021

This came up in OpenDream (blame VS...). Figured it wouldn't be too hard to fix here.

Not sure if this is the best way to go about it, but it seems to work.

Not sure if this is the best way to go about it, but it seems to work.
Copy link
Owner

@SpaceManiac SpaceManiac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BOMs are terrible and I dislike that VS still uses them

src/dreammaker/lexer.rs Outdated Show resolved Hide resolved
src/dreammaker/lexer.rs Outdated Show resolved Hide resolved
@SpaceManiac SpaceManiac merged commit 7bff6f7 into SpaceManiac:master Sep 18, 2021
@PJB3005 PJB3005 deleted the 21-09-17-bom branch September 18, 2021 22:36
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.

3 participants