diff options
Diffstat (limited to 'src/comp/util/common.rs')
| -rw-r--r-- | src/comp/util/common.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/comp/util/common.rs b/src/comp/util/common.rs index 56f30e07..071acea2 100644 --- a/src/comp/util/common.rs +++ b/src/comp/util/common.rs @@ -2,8 +2,10 @@ import std._uint; import std._int; import front.ast; + +type filename = str; type pos = rec(uint line, uint col); -type span = rec(str filename, pos lo, pos hi); +type span = rec(filename filename, pos lo, pos hi); type spanned[T] = rec(T node, span span); tag ty_mach { |