syntax: normalize paths when parsing, close #4173.

This commit is contained in:
Graydon Hoare 2012-12-13 12:04:27 -08:00
parent 0d59e86d80
commit 3c8dca429a
1 changed files with 1 additions and 0 deletions

View File

@ -3023,6 +3023,7 @@ impl Parser {
} else {
prefix.push_many(path.components)
};
let full_path = full_path.normalize();
let p0 =
new_sub_parser_from_file(self.sess, self.cfg,
&full_path, id_sp);