about summary refs log tree commit diff
path: root/src/libhexfloat
diff options
context:
space:
mode:
Diffstat (limited to 'src/libhexfloat')
-rw-r--r--src/libhexfloat/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libhexfloat/lib.rs b/src/libhexfloat/lib.rs
index 4897924c55b..72528e96917 100644
--- a/src/libhexfloat/lib.rs
+++ b/src/libhexfloat/lib.rs
@@ -105,6 +105,7 @@ pub fn expand_syntax_ext(cx: &mut ExtCtxt, sp: Span, tts: &[ast::TokenTree]) ->
         Some(Ident{ident, span}) => match token::get_ident(ident).get() {
             "f32" => Some(ast::TyF32),
             "f64" => Some(ast::TyF64),
+            "f128" => Some(ast::TyF128),
             _ => {
                 cx.span_err(span, "invalid floating point type in hexfloat!");
                 None