Commit a2d25464 authored by Austin Seipp's avatar Austin Seipp

genprimopcode: Don't output tabs

Otherwise the build breaks, because its output is included in tab-free
files. See ef9dd9fc.
Signed-off-by: default avatarAustin Seipp <austin@well-typed.com>
parent 37743a13
......@@ -242,7 +242,7 @@ gen_hs_source (Info defaults entries) =
++ "-----------------------------------------------------------------------------\n"
++ "{-# LANGUAGE MagicHash, MultiParamTypeClasses, NoImplicitPrelude, UnboxedTuples #-}\n"
++ "module GHC.Prim (\n"
++ unlines (map (("\t" ++) . hdr) entries')
++ unlines (map ((" " ++) . hdr) entries')
++ ") where\n"
++ "\n"
++ "{-\n"
......@@ -735,7 +735,7 @@ gen_primop_vector_tys_exports (Info _ entries)
mkVecTypes :: Entry -> String
mkVecTypes i =
"\t" ++ ty_id ++ ", " ++ tycon_id ++ ","
" " ++ ty_id ++ ", " ++ tycon_id ++ ","
where
ty_id = prefix i ++ "PrimTy"
tycon_id = prefix i ++ "PrimTyCon"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment