No newline after case in :makecase

This commit is contained in:
Edwin Brady 2015-08-28 18:08:36 +01:00
parent 378bbd6f98
commit 1e80f1f3cc

View File

@ -177,8 +177,8 @@ makeCase fn updatefile l n
Just (before, pos, after) ->
[before ++ (if b then "(" else "") ++ "case _ of",
take (pos + (if b then 6 else 5)) (repeat ' ') ++
"case_val => ?" ++ n ++ if b then ")" else "",
after]
"case_val => ?" ++ n ++ (if b then ")" else "")
++ after]
Nothing -> fail "No such metavariable"
-- Assume case needs to be bracketed unless the metavariable is