sweet-js / sweet-core

Sweeten your JavaScript.
https://www.sweetjs.org
BSD 2-Clause "Simplified" License
4.59k stars 209 forks source link

Fix consuming extra char when reading Unicode code point escapes #628

Closed gabejohnson closed 7 years ago

gabejohnson commented 7 years ago

https://github.com/sweet-js/sweet.js/pull/601/files/1e55a9bc27daaa830c68aa4286b3f85c21edad62#diff-e7e4635f5a6ffdd90f54721f9957e0f6R69

This was causing the character following a Unicode code point escape to be skipped.