diff options
Diffstat (limited to 'src/comp/pretty')
| -rw-r--r-- | src/comp/pretty/pprust.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/comp/pretty/pprust.rs b/src/comp/pretty/pprust.rs index 7863f3e7..0e30ced1 100644 --- a/src/comp/pretty/pprust.rs +++ b/src/comp/pretty/pprust.rs @@ -283,6 +283,9 @@ impure fn print_literal(ps s, @ast.lit lit) { case (ast.lit_uint(?val)) { // TODO clipping? uistr? wrd(s, util.common.istr(val as int) + "u"); } + case (ast.lit_float(?fstr)) { + wrd(s, fstr); + } case (ast.lit_mach_int(?mach,?val)) { wrd(s, util.common.istr(val as int)); wrd(s, util.common.ty_mach_to_str(mach)); |