aboutsummaryrefslogtreecommitdiff
path: root/src/boot/fe
diff options
context:
space:
mode:
authorJeffrey Yasskin <[email protected]>2010-07-18 13:37:50 +0800
committerGraydon Hoare <[email protected]>2010-07-20 02:08:01 +0800
commit2a2ec67e6ebeb1dc4aea950487072bc9713a4d31 (patch)
tree9c065a9c88abeb2711bf2604f938901eb77af140 /src/boot/fe
parentMake the LLVM compiler crash when it hits a source construct it doesn't know (diff)
downloadrust-2a2ec67e6ebeb1dc4aea950487072bc9713a4d31.tar.xz
rust-2a2ec67e6ebeb1dc4aea950487072bc9713a4d31.zip
Fix opeq.rs for LLVM by implementing simple augmented-assignment operators.
Diffstat (limited to 'src/boot/fe')
-rw-r--r--src/boot/fe/ast.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/boot/fe/ast.ml b/src/boot/fe/ast.ml
index 1697bf22..b70b2b88 100644
--- a/src/boot/fe/ast.ml
+++ b/src/boot/fe/ast.ml
@@ -1377,6 +1377,7 @@ let ty_children (ty:ty) : ty array =
[| |]
;;
+let sprintf_binop = sprintf_fmt fmt_binop;;
let sprintf_expr = sprintf_fmt fmt_expr;;
let sprintf_name = sprintf_fmt fmt_name;;
let sprintf_name_component = sprintf_fmt fmt_name_component;;