Closed lbyonder closed 5 years ago
Thank you for reporting this. Seems like a straightforward bug in the tokenizer. We don't match Window line endings only \n
so it's invalid syntax. WebAssembly itself isn't opinionated about that type of thing because it's a binary format.
Should be straightforward to fix with a better regex for newline
.
Fixed by #154
I'll publish a patched version to npm later today.
Bug Report
Overview
Windows style line endings give a syntax error.
Expected
Documentation should explain what line endings are supported. Does webassembly itself support CRLF?