From d1e59d691039731b8ae05aadf8358c499dfa5b89 Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Tue, 5 Oct 2010 18:21:44 -0700 Subject: Add input coordinate tracking to all major rustc ast nodes. --- src/comp/util/common.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/comp/util') diff --git a/src/comp/util/common.rs b/src/comp/util/common.rs index 7b0ffd5b..51dbfbb1 100644 --- a/src/comp/util/common.rs +++ b/src/comp/util/common.rs @@ -3,6 +3,7 @@ import std._int; type pos = rec(uint line, uint col); type span = rec(str filename, pos lo, pos hi); +type spanned[T] = rec(T node, span span); // FIXME: import std.util.option and use it here. // import std.util.option; -- cgit v1.2.3