Commit 8229ae19 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Use _ rather than "other" in generated code

parent 02de8fdc
......@@ -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 -----------------------
......
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