зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
ce8250332e
Коммит
c08dac3312
|
@ -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:
|
||||
|
|
Загрузка…
Ссылка в новой задаче