chore(frontends/lean/builtin_cmds): fix style

This commit is contained in:
Leonardo de Moura 2015-11-16 16:10:01 -08:00
parent 39ec756331
commit 8e4fd50913

View file

@ -1337,9 +1337,12 @@ static environment simplify_cmd(parser & p) {
blast::scope_debug scope(p.env(), p.ios()); blast::scope_debug scope(p.env(), p.ios());
simp_rule_sets srss; simp_rule_sets srss;
if (ns == name("null")) { } if (ns == name("null")) {
else if (ns == name("env")) { srss = get_simp_rule_sets(p.env()); } } else if (ns == name("env")) {
else { srss = get_simp_rule_sets(p.env(), p.ios(), ns); } srss = get_simp_rule_sets(p.env());
} else {
srss = get_simp_rule_sets(p.env(), p.ios(), ns);
}
blast::simp::result r = blast::simplify(rel, e, srss); blast::simp::result r = blast::simplify(rel, e, srss);