diff options
| author | Graydon Hoare <[email protected]> | 2010-10-05 18:21:44 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-10-05 18:21:44 -0700 |
| commit | d1e59d691039731b8ae05aadf8358c499dfa5b89 (patch) | |
| tree | 0e032c573a823598941ceb6fe488273749d0df31 /src/comp/util | |
| parent | Add -lpasses for logging just the progress of passes. (diff) | |
| download | rust-d1e59d691039731b8ae05aadf8358c499dfa5b89.tar.xz rust-d1e59d691039731b8ae05aadf8358c499dfa5b89.zip | |
Add input coordinate tracking to all major rustc ast nodes.
Diffstat (limited to 'src/comp/util')
| -rw-r--r-- | src/comp/util/common.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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; |