aboutsummaryrefslogtreecommitdiff
path: root/src/comp/front
diff options
context:
space:
mode:
authorRafael Avila de Espindola <espindola@dream.(none)>2011-02-07 15:07:27 -0500
committerRafael Avila de Espindola <espindola@dream.(none)>2011-02-07 15:07:27 -0500
commit3e613c1648141ac757d1f0608ad845686ebbe97e (patch)
tree01bdf6fcfdd25e0148bda8cb2647cf8e59497844 /src/comp/front
parentFix expressions with paths with more than one element. (diff)
downloadrust-3e613c1648141ac757d1f0608ad845686ebbe97e.tar.xz
rust-3e613c1648141ac757d1f0608ad845686ebbe97e.zip
Add native modules to resolve. With this hello world gets to typecheck.
Diffstat (limited to 'src/comp/front')
-rw-r--r--src/comp/front/ast.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/comp/front/ast.rs b/src/comp/front/ast.rs
index 1220d6ab..5f315e58 100644
--- a/src/comp/front/ast.rs
+++ b/src/comp/front/ast.rs
@@ -36,6 +36,8 @@ tag def {
def_ty_arg(def_id);
def_binding(def_id);
def_use(def_id);
+ def_native_ty(def_id);
+ def_native_fn(def_id);
}
type crate = spanned[crate_];