rust/src/libsyntax
Huon Wilson 8812e8ad49 syntax: calculate positions of multibyte characters more correctly.
They are still are not completely correct, since it does not handle
graphemes at all, just codepoints, but at least it handles the common
case correctly.

The calculation was previously very wrong (rather than just a little bit
wrong): it wasn't accounting for the fact that every character is 1
byte, and so multibyte characters were pretending to be zero width.

cc #8706
2014-02-24 21:22:26 -08:00
..
2014-02-24 00:15:17 -08:00
2014-02-23 21:20:37 +08:00
2014-02-24 00:15:17 -08:00
2014-02-24 09:51:39 -08:00
2014-02-23 20:51:56 -08:00
2014-02-23 21:20:37 +08:00
2014-02-20 16:03:58 +08:00