diff options
author | Ian Lynagh <igloo@earth.li> | 2008-03-29 14:25:08 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2008-03-29 14:25:08 +0000 |
commit | 8229ae19d86dddc08f40f4d934bf942e0bdfe99c (patch) | |
tree | 45c86fa3fb61b728bea4878a159fb9488a47367f /utils/genprimopcode | |
parent | 02de8fdc3a3dc68071777366ca978e2d0db752e8 (diff) | |
download | haskell-8229ae19d86dddc08f40f4d934bf942e0bdfe99c.tar.gz |
Use _ rather than "other" in generated code
Diffstat (limited to 'utils/genprimopcode')
-rw-r--r-- | utils/genprimopcode/Main.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/genprimopcode/Main.hs b/utils/genprimopcode/Main.hs index 0e7c815f44..3b30742f72 100644 --- a/utils/genprimopcode/Main.hs +++ b/utils/genprimopcode/Main.hs @@ -408,7 +408,7 @@ gen_switch_from_attribs attrib_name fn_name (Info defaults entries) Nothing -> error ("gen_switch_from: " ++ attrib_name) Just xx -> unlines alternatives - ++ fn_name ++ " other = " ++ getAltRhs xx ++ "\n" + ++ fn_name ++ " _ = " ++ getAltRhs xx ++ "\n" ------------------------------------------------------------------ -- Create PrimOpInfo text from PrimOpSpecs ----------------------- |