Encode and decode tag types in dwarf properly. Add list module to std. Shift rustc to use std.util.option. Fix various dependent bugs. Closes #73.

This commit is contained in:
Graydon Hoare
2010-10-15 22:09:09 -07:00
parent fc2d4828e7
commit 57c7e94c8f
10 changed files with 241 additions and 112 deletions

View File

@@ -5,14 +5,6 @@ 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;
tag option[T] {
none;
some(T);
}
tag ty_mach {
ty_i8;
ty_i16;