Absent any deep overhauls to syntax or constant-handling, hack in the ability to project a cexp var binding to a token in the parser. Use it in comp/rustc.rc and comp/lib/llvm.rs.

This commit is contained in:
Graydon Hoare 2010-08-16 13:02:46 -07:00
parent 176899a970
commit 7e62aa6801
5 changed files with 61 additions and 21 deletions

View file

@ -14,7 +14,23 @@ mod driver {
}
mod lib {
mod llvm;
alt (target_os) {
case ("win32") {
let (llvm_lib = "llvm-2.8svn.dll") {
mod llvm;
}
}
case ("macos") {
let (llvm_lib = "libllvm-2.8svn.dylib") {
mod llvm;
}
}
else {
let (llvm_lib = "libllvm-2.8svn.so") {
mod llvm;
}
}
}
}
// Local Variables: