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

0x0d0a is not been recognized in source code #780

Closed
retsyo opened this issue Jun 29, 2019 · 1 comment
Closed

0x0d0a is not been recognized in source code #780

retsyo opened this issue Jun 29, 2019 · 1 comment
Labels
Bug This tag is applied to issues which reports bugs.

Comments

@retsyo
Copy link

retsyo commented Jun 29, 2019

on windows, in some editor, when we press Enter, 2 characters( 0x0d and 0x0a) are recorded in the source code. While on linux, only 0x0a is used

as a result, the source code which has 0x0d0a are not been recognized by V

(char code=0) pos=139 len=149
panic: a.v:11
invalid character ``

so, please make 0x0d0a among one of valid line seperators

@retsyo retsyo added the Bug This tag is applied to issues which reports bugs. label Jun 29, 2019
@medvednikov
Copy link
Member

It should be fine now, can you check?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This tag is applied to issues which reports bugs.
Projects
None yet
Development

No branches or pull requests

2 participants