feat(kernel/error_msgs): expose pp_indent_expr

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2014-05-02 12:03:12 -07:00
parent f2fc68bcab
commit 50089dc64e
2 changed files with 2 additions and 1 deletions

View file

@ -7,7 +7,7 @@ Author: Leonardo de Moura
#include "kernel/error_msgs.h"
namespace lean {
static format pp_indent_expr(formatter const & fmt, environment const & env, options const & opts, expr const & e) {
format pp_indent_expr(formatter const & fmt, environment const & env, options const & opts, expr const & e) {
return nest(get_pp_indent(opts), compose(line(), fmt(env, e, opts)));
}

View file

@ -8,6 +8,7 @@ Author: Leonardo de Moura
#include "kernel/expr.h"
#include "kernel/formatter.h"
namespace lean {
format pp_indent_expr(formatter const & fmt, environment const & env, options const & opts, expr const & e);
format pp_type_expected(formatter const & fmt, environment const & env, options const & opts, expr const & e);
format pp_function_expected(formatter const & fmt, environment const & env, options const & opts, expr const & e);
format pp_app_type_mismatch(formatter const & fmt, environment const & env, options const & opts, expr const & app,