refactor(library/error_handling): move error_handling to library main dir
This commit is contained in:
parent
7462874a4a
commit
b92416d66c
12 changed files with 9 additions and 12 deletions
|
@ -361,8 +361,6 @@ add_subdirectory(library/blast/grinder)
|
||||||
set(LEAN_OBJS ${LEAN_OBJS} $<TARGET_OBJECTS:blast_grinder>)
|
set(LEAN_OBJS ${LEAN_OBJS} $<TARGET_OBJECTS:blast_grinder>)
|
||||||
add_subdirectory(library/blast/simplifier)
|
add_subdirectory(library/blast/simplifier)
|
||||||
set(LEAN_OBJS ${LEAN_OBJS} $<TARGET_OBJECTS:simplifier>)
|
set(LEAN_OBJS ${LEAN_OBJS} $<TARGET_OBJECTS:simplifier>)
|
||||||
add_subdirectory(library/error_handling)
|
|
||||||
set(LEAN_OBJS ${LEAN_OBJS} $<TARGET_OBJECTS:error_handling>)
|
|
||||||
add_subdirectory(compiler)
|
add_subdirectory(compiler)
|
||||||
set(LEAN_OBJS ${LEAN_OBJS} $<TARGET_OBJECTS:compiler>)
|
set(LEAN_OBJS ${LEAN_OBJS} $<TARGET_OBJECTS:compiler>)
|
||||||
add_subdirectory(frontends/lean)
|
add_subdirectory(frontends/lean)
|
||||||
|
|
|
@ -8,7 +8,7 @@ Author: Leonardo de Moura
|
||||||
#include "library/unifier.h"
|
#include "library/unifier.h"
|
||||||
#include "library/print.h"
|
#include "library/print.h"
|
||||||
#include "library/tactic/tactic.h"
|
#include "library/tactic/tactic.h"
|
||||||
#include "library/error_handling/error_handling.h"
|
#include "library/error_handling.h"
|
||||||
#include "api/exception.h"
|
#include "api/exception.h"
|
||||||
#include "api/string.h"
|
#include "api/string.h"
|
||||||
using namespace lean; // NOLINT
|
using namespace lean; // NOLINT
|
||||||
|
|
|
@ -4,7 +4,7 @@ Released under Apache 2.0 license as described in the file LICENSE.
|
||||||
|
|
||||||
Author: Leonardo de Moura
|
Author: Leonardo de Moura
|
||||||
*/
|
*/
|
||||||
#include "library/error_handling/error_handling.h"
|
#include "library/error_handling.h"
|
||||||
#include "frontends/lean/pp.h"
|
#include "frontends/lean/pp.h"
|
||||||
#include "api/string.h"
|
#include "api/string.h"
|
||||||
#include "api/exception.h"
|
#include "api/exception.h"
|
||||||
|
|
|
@ -22,7 +22,7 @@ Author: Leonardo de Moura
|
||||||
#include "library/explicit.h"
|
#include "library/explicit.h"
|
||||||
#include "library/abbreviation.h"
|
#include "library/abbreviation.h"
|
||||||
#include "library/definitional/equations.h"
|
#include "library/definitional/equations.h"
|
||||||
#include "library/error_handling/error_handling.h"
|
#include "library/error_handling.h"
|
||||||
#include "frontends/lean/parser.h"
|
#include "frontends/lean/parser.h"
|
||||||
#include "frontends/lean/util.h"
|
#include "frontends/lean/util.h"
|
||||||
#include "frontends/lean/tokens.h"
|
#include "frontends/lean/tokens.h"
|
||||||
|
|
|
@ -41,7 +41,7 @@ Author: Leonardo de Moura
|
||||||
#include "library/pp_options.h"
|
#include "library/pp_options.h"
|
||||||
#include "library/class_instance_resolution.h"
|
#include "library/class_instance_resolution.h"
|
||||||
#include "library/tactic/expr_to_tactic.h"
|
#include "library/tactic/expr_to_tactic.h"
|
||||||
#include "library/error_handling/error_handling.h"
|
#include "library/error_handling.h"
|
||||||
#include "library/definitional/equations.h"
|
#include "library/definitional/equations.h"
|
||||||
#include "frontends/lean/local_decls.h"
|
#include "frontends/lean/local_decls.h"
|
||||||
#include "frontends/lean/structure_cmd.h"
|
#include "frontends/lean/structure_cmd.h"
|
||||||
|
|
|
@ -41,7 +41,7 @@ Author: Leonardo de Moura
|
||||||
#include "library/flycheck.h"
|
#include "library/flycheck.h"
|
||||||
#include "library/pp_options.h"
|
#include "library/pp_options.h"
|
||||||
#include "library/noncomputable.h"
|
#include "library/noncomputable.h"
|
||||||
#include "library/error_handling/error_handling.h"
|
#include "library/error_handling.h"
|
||||||
#include "library/tactic/expr_to_tactic.h"
|
#include "library/tactic/expr_to_tactic.h"
|
||||||
#include "library/tactic/location.h"
|
#include "library/tactic/location.h"
|
||||||
#include "frontends/lean/tokens.h"
|
#include "frontends/lean/tokens.h"
|
||||||
|
|
|
@ -19,4 +19,4 @@ add_library(library OBJECT deep_copy.cpp expr_lt.cpp io_state.cpp
|
||||||
norm_num.cpp class_instance_resolution.cpp type_context.cpp
|
norm_num.cpp class_instance_resolution.cpp type_context.cpp
|
||||||
tmp_type_context.cpp fun_info_manager.cpp congr_lemma_manager.cpp
|
tmp_type_context.cpp fun_info_manager.cpp congr_lemma_manager.cpp
|
||||||
abstract_expr_manager.cpp light_lt_manager.cpp trace.cpp
|
abstract_expr_manager.cpp light_lt_manager.cpp trace.cpp
|
||||||
attribute_manager.cpp)
|
attribute_manager.cpp error_handling.cpp)
|
||||||
|
|
|
@ -15,7 +15,7 @@ Author: Leonardo de Moura
|
||||||
#include "library/parser_nested_exception.h"
|
#include "library/parser_nested_exception.h"
|
||||||
#include "library/flycheck.h"
|
#include "library/flycheck.h"
|
||||||
#include "library/pp_options.h"
|
#include "library/pp_options.h"
|
||||||
#include "library/error_handling/error_handling.h"
|
#include "library/error_handling.h"
|
||||||
|
|
||||||
namespace lean {
|
namespace lean {
|
||||||
void display_pos(std::ostream & out, options const & o, char const * strm_name, unsigned line, unsigned pos) {
|
void display_pos(std::ostream & out, options const & o, char const * strm_name, unsigned line, unsigned pos) {
|
|
@ -1 +0,0 @@
|
||||||
add_library(error_handling OBJECT error_handling.cpp)
|
|
|
@ -10,7 +10,7 @@ Author: Leonardo de Moura
|
||||||
#include "library/module.h"
|
#include "library/module.h"
|
||||||
#include "library/standard_kernel.h"
|
#include "library/standard_kernel.h"
|
||||||
#include "library/kernel_bindings.h"
|
#include "library/kernel_bindings.h"
|
||||||
#include "library/error_handling/error_handling.h"
|
#include "library/error_handling.h"
|
||||||
#include "frontends/lean/pp.h"
|
#include "frontends/lean/pp.h"
|
||||||
#include "frontends/lean/parser.h"
|
#include "frontends/lean/parser.h"
|
||||||
#include "init/init.h"
|
#include "init/init.h"
|
||||||
|
|
|
@ -34,7 +34,7 @@ Author: Leonardo de Moura
|
||||||
#include "library/definition_cache.h"
|
#include "library/definition_cache.h"
|
||||||
#include "library/declaration_index.h"
|
#include "library/declaration_index.h"
|
||||||
#include "library/export.h"
|
#include "library/export.h"
|
||||||
#include "library/error_handling/error_handling.h"
|
#include "library/error_handling.h"
|
||||||
#include "frontends/lean/parser.h"
|
#include "frontends/lean/parser.h"
|
||||||
#include "frontends/lean/pp.h"
|
#include "frontends/lean/pp.h"
|
||||||
#include "frontends/lean/server.h"
|
#include "frontends/lean/server.h"
|
||||||
|
|
Loading…
Reference in a new issue