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 tilde character interpreted as null in syntax #2

Merged
merged 1 commit into from
Nov 22, 2020

Conversation

Dracyr
Copy link
Contributor

@Dracyr Dracyr commented Nov 1, 2020

Sublime (Linux, build 4090) threw an error for me when loading .res files

error parsing lexer: Packages/User/rescript-sublime/ReScript.sublime-syntax: invalid type for match at line 39 column 14
generating syntax summary
error: Error loading syntax file "Packages/User/rescript-sublime/ReScript.sublime-syntax": invalid type for match at line 39 column 14

AFAIK, tilde characters in yaml mean null [1], so they either need to be wrapped in quotes or escaped. Don't know if the yaml parser in Sublime Text 4 has been updated so that this now becomes an issue.

[1] https://yaml.org/spec/1.2/spec.html#id2805071

@IwanKaramazow IwanKaramazow merged commit c14ee3c into rescript-lang:master Nov 22, 2020
@IwanKaramazow
Copy link
Contributor

@Dracyr thanks!

@chenglou
Copy link
Member

chenglou commented Dec 5, 2020

Aaaah a fellow ST4 user =)
Yeah this is a new issue. Worked fine under ST3. Thanks for the fix

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