diff options
| author | Graydon Hoare <[email protected]> | 2010-10-15 22:09:09 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-10-15 22:09:09 -0700 |
| commit | 57c7e94c8f8d456c1737bd7dd2bf5c6962003cd0 (patch) | |
| tree | 3eea63d46aa8f01562bf02c33eca1e243df26470 /src/comp/front | |
| parent | Finish the fold drivers in fold.rs. (diff) | |
| download | rust-57c7e94c8f8d456c1737bd7dd2bf5c6962003cd0.tar.xz rust-57c7e94c8f8d456c1737bd7dd2bf5c6962003cd0.zip | |
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.
Diffstat (limited to 'src/comp/front')
| -rw-r--r-- | src/comp/front/ast.rs | 4 | ||||
| -rw-r--r-- | src/comp/front/parser.rs | 7 |
2 files changed, 5 insertions, 6 deletions
diff --git a/src/comp/front/ast.rs b/src/comp/front/ast.rs index 1d3646f4..c89bba96 100644 --- a/src/comp/front/ast.rs +++ b/src/comp/front/ast.rs @@ -1,11 +1,9 @@ import util.common.option; import std.map.hashmap; +import std.util.option; import util.common.span; import util.common.spanned; -import util.common.option; -import util.common.some; -import util.common.none; type ident = str; diff --git a/src/comp/front/parser.rs b/src/comp/front/parser.rs index a17414ee..733e61ea 100644 --- a/src/comp/front/parser.rs +++ b/src/comp/front/parser.rs @@ -1,11 +1,12 @@ import std._io; +import std.util.option; +import std.util.some; +import std.util.none; + import driver.session; import util.common; import util.common.span; import util.common.new_str_hash; -import util.common.option; -import util.common.some; -import util.common.none; state type parser = state obj { |