diff options
| author | Jeffrey Yasskin <[email protected]> | 2010-07-19 13:59:57 +0800 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-07-20 02:08:00 +0800 |
| commit | 9d0d350d2cb62a0396c2d186fcfb936edfc150e8 (patch) | |
| tree | 0effbac6d2a17a98a256702c783f99c275145e29 /src/boot/util/common.ml | |
| parent | Un-XFAIL a bunch of LLVM tests that already pass. (diff) | |
| download | rust-9d0d350d2cb62a0396c2d186fcfb936edfc150e8.tar.xz rust-9d0d350d2cb62a0396c2d186fcfb936edfc150e8.zip | |
Make the LLVM compiler crash when it hits a source construct it doesn't know
what to do with, rather than silently omitting it from the output.
Diffstat (limited to 'src/boot/util/common.ml')
| -rw-r--r-- | src/boot/util/common.ml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/boot/util/common.ml b/src/boot/util/common.ml index 3271b644..63a4a321 100644 --- a/src/boot/util/common.ml +++ b/src/boot/util/common.ml @@ -25,6 +25,10 @@ let bug _ = in Printf.ksprintf k ;; +(* TODO: On some joyous day, remove me. *) +exception Not_implemented of string +;; + exception Semant_err of ((node_id option) * string) ;; |