diff options
| author | Graydon Hoare <[email protected]> | 2011-03-24 17:35:27 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2011-03-24 17:37:32 -0700 |
| commit | 4e49ca8abd31d7cbe087acb8a3aeb6fe1b2ee5ee (patch) | |
| tree | 3fca2d845e595cfa36e6ea9e1a35f4c203a3eaaa /src/comp/front/creader.rs | |
| parent | rustc: Open "use"d crates; add a _vec.vec_from_buf() method along the way; XF... (diff) | |
| download | rust-4e49ca8abd31d7cbe087acb8a3aeb6fe1b2ee5ee.tar.xz rust-4e49ca8abd31d7cbe087acb8a3aeb6fe1b2ee5ee.zip | |
Start hooking resolve into creater.
Diffstat (limited to 'src/comp/front/creader.rs')
| -rw-r--r-- | src/comp/front/creader.rs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/comp/front/creader.rs b/src/comp/front/creader.rs index e052e94a..77744086 100644 --- a/src/comp/front/creader.rs +++ b/src/comp/front/creader.rs @@ -274,3 +274,18 @@ fn read_crates(session.session sess, ret fold.fold_crate[env](e, fld, crate); } +fn lookup_def(&span sp, + @ast.external_crate_info cinfo, + vec[ast.ident] path) -> ast.def { + // FIXME: fill in. + fail; +} + +// Local Variables: +// mode: rust +// fill-column: 78; +// indent-tabs-mode: nil +// c-basic-offset: 4 +// buffer-file-coding-system: utf-8-unix +// compile-command: "make -k -C ../.. 2>&1 | sed -e 's/\\/x\\//x:\\//g'"; +// End: |