Fix the overly long inner spans of inline mods

This commit is contained in:
Marcus Klaas 2015-09-20 14:06:58 +02:00
parent 6db1a0ea7c
commit 51f4a241bf

View file

@ -4843,7 +4843,7 @@ impl<'a> Parser<'a> {
let hi = if self.span == codemap::DUMMY_SP {
inner_lo
} else {
self.span.lo
self.last_span.hi
};
Ok(ast::Mod {