Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix 9068 newlines emcc error (emscripten-core#9088)
* Fix emscripten-core#9068: get rid of malformed newlines in emcc errors on Windows This fixes a patch applied to acorn.js for quoting error-causing text in parse errors (acornjs/acorn#793). Previously it splitted binary data on \n to get lines, which was inconsistent with the rest of the parser and caused excess \r in the error message on Windows. Now it uses the same regex as the rest of acorn.js (e.g. getLineInfo used by error reporting). * Fix emscripten-core#9057 by fixing by emscripten-core#9068
- Loading branch information