From fdac6ffa7c818f5902173cbf9227bd3def5956a5 Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Mon, 22 Nov 2010 13:21:54 -0800 Subject: Accumulate type paths as we parse, rather than throwing them away. --- src/comp/front/parser.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/comp/front/parser.rs') diff --git a/src/comp/front/parser.rs b/src/comp/front/parser.rs index e44d090e..8e47cf77 100644 --- a/src/comp/front/parser.rs +++ b/src/comp/front/parser.rs @@ -210,6 +210,7 @@ impure fn parse_ty(parser p) -> @ast.ty { case (token.IDENT(?i)) { auto n = parse_name(p, i); hi = n.span; + pth += n; if (p.peek() == token.DOT) { p.bump(); } else { -- cgit v1.2.3