diff options
| author | Graydon Hoare <[email protected]> | 2010-11-22 13:21:54 -0800 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-11-22 13:24:53 -0800 |
| commit | fdac6ffa7c818f5902173cbf9227bd3def5956a5 (patch) | |
| tree | 7f2f7892a4178b007138ccc29c0cedc001ed23c2 | |
| parent | rustc: "expectied" -> "expected" in parser.rs; also say what was found (diff) | |
| download | rust-fdac6ffa7c818f5902173cbf9227bd3def5956a5.tar.xz rust-fdac6ffa7c818f5902173cbf9227bd3def5956a5.zip | |
Accumulate type paths as we parse, rather than throwing them away.
| -rw-r--r-- | src/comp/front/parser.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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 { |