Bug 1551916 - Flip column numbers back to being counts of code points and not code units. r=arai

Differential Revision: https://phabricator.services.mozilla.com/D31304

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Jeff Walden 2019-05-21 16:31:51 +00:00
Родитель ce8250332e
Коммит c08dac3312
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -326,7 +326,7 @@ class SourceUnits;
// we counted code units. Set this to 0 to keep returning counts of code units
// (even for UTF-8, which is clearly wrong, but we don't ship UTF-8 yet so this
// is fine until we can fix users that depend on code-unit counting).
#define JS_COLUMN_DIMENSION_IS_CODE_POINTS() 0
#define JS_COLUMN_DIMENSION_IS_CODE_POINTS() 1
class TokenStreamAnyChars : public TokenStreamShared {
public: