diff options
| author | Lindsey Kuper <[email protected]> | 2011-03-23 14:52:22 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2011-03-23 16:01:29 -0700 |
| commit | 0b63512f4cb0aca1579b110d9104eeed4918a6eb (patch) | |
| tree | bf9014f6261f2b15db81eec7e1d34aa1d3de2cd3 /src/comp/middle/metadata.rs | |
| parent | build: Fix minor typo in "cp" output (diff) | |
| download | rust-0b63512f4cb0aca1579b110d9104eeed4918a6eb.tar.xz rust-0b63512f4cb0aca1579b110d9104eeed4918a6eb.zip | |
Support for 'float' in type signatures.
Diffstat (limited to 'src/comp/middle/metadata.rs')
| -rw-r--r-- | src/comp/middle/metadata.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/comp/middle/metadata.rs b/src/comp/middle/metadata.rs index ce33658f..e384092b 100644 --- a/src/comp/middle/metadata.rs +++ b/src/comp/middle/metadata.rs @@ -61,6 +61,7 @@ fn sty_str(ty.sty st, def_str ds) -> str { case (ty.ty_bool) {ret "b";} case (ty.ty_int) {ret "i";} case (ty.ty_uint) {ret "u";} + case (ty.ty_float) {ret "l";} case (ty.ty_machine(?mach)) { alt (mach) { case (common.ty_u8) {ret "Mb";} |