1
Fork 0

Fix zero-normalization of the pos of a MultiByteChar.

Fix #24687
This commit is contained in:
Felix S. Klock II 2015-04-29 10:21:29 +02:00
parent 857ef6e272
commit ecd3572f49

View file

@ -664,7 +664,7 @@ fn import_codemap(local_codemap: &codemap::CodeMap,
.into_inner()
.map_in_place(|mbc|
codemap::MultiByteChar {
pos: mbc.pos + start_pos,
pos: mbc.pos - start_pos,
bytes: mbc.bytes
});