lean2/src/frontends/lean
Leonardo de Moura 3ab2d2a441 fix(frontends/lean/parser): memory leak due to g++ bug
g++ implementation of std::initializer_list has bug.
http://gcc.gnu.org/ml/gcc-bugs/2013-06/msg00095.html

This commit memory leaks triggered by this bug.
It also adds minimal tests to expose three different instances of the problem.

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-15 10:15:04 -08:00
..
CMakeLists.txt feat(frontends/lean): calculational proofs 2014-01-02 10:53:14 -08:00
coercion.cpp refactor(kernel/io_state): move io_state_stream to library 2014-01-02 13:14:21 -08:00
coercion.h feat(frontends/lean): use lowercase commands, replace 'endscope' and 'endnamespace' with 'end' 2014-01-05 13:06:36 -08:00
environment_scope.cpp refactor(kernel/io_state): move io_state_stream to library 2014-01-02 13:14:21 -08:00
environment_scope.h feat(frontends/lean): Scopes in the default Lean frontend 2013-12-18 17:40:21 -08:00
frontend.cpp fix(build): C++ module dependency problem, and style 2014-01-14 18:30:31 -08:00
frontend.h chore(frontends/lean/frontend): remove dead code 2014-01-07 15:28:21 -08:00
frontend_elaborator.cpp feat(kernel, library/elaborator, frontends/lean): improve how elaborator_exceptions are displayed in the Lean frontend 2014-01-03 17:18:23 -08:00
frontend_elaborator.h feat(frontends/lean): improve error messages when elaborator cannot instantiate all metavariables 2013-12-20 22:00:50 -08:00
notation.h refactor(library/arith): move real and special function declarations to .lean files 2013-12-30 11:02:22 -08:00
operator_info.cpp feat(frontends/lean): use lowercase commands, replace 'endscope' and 'endnamespace' with 'end' 2014-01-05 13:06:36 -08:00
operator_info.h refactor(library/io_state): move to the kernel 2013-12-30 11:20:23 -08:00
parser.cpp refactor(*): error messages 2014-01-13 16:54:21 -08:00
parser.h refactor(*): error messages 2014-01-13 16:54:21 -08:00
parser_calc.cpp feat(builtin): automatically generate Lean/C++ interface for builtin theories 2014-01-09 18:09:53 -08:00
parser_calc.h feat(frontends/lean): calculational proofs 2014-01-02 10:53:14 -08:00
parser_cmds.cpp refactor(*): error messages 2014-01-13 16:54:21 -08:00
parser_error.cpp refactor(*): error messages 2014-01-13 16:54:21 -08:00
parser_error.h feat(frontends/lean): improve error message for expressions containing unsolved metavariables 2014-01-13 13:21:44 -08:00
parser_expr.cpp fix(frontends/lean/parser): memory leak due to g++ bug 2014-01-15 10:15:04 -08:00
parser_imp.cpp fix(frontends/lean/parser): uninitialized var error reported by valgrind 2014-01-15 08:43:43 -08:00
parser_imp.h refactor(*): error messages 2014-01-13 16:54:21 -08:00
parser_level.cpp refactor(kernel/io_state): move io_state_stream to library 2014-01-02 13:14:21 -08:00
parser_macros.cpp refactor(*): error messages 2014-01-13 16:54:21 -08:00
parser_macros.h refactor(frontends/lean/parser): break parser in smaller chunks 2014-01-02 06:48:40 -08:00
parser_tactic.cpp feat(frontends/lean): improve error message for expressions containing unsolved metavariables 2014-01-13 13:21:44 -08:00
parser_types.h refactor(frontends/lean/parser): break parser in smaller chunks 2014-01-02 06:48:40 -08:00
pp.cpp feat(frontends/lean/pp): display implicit arguments when expression contains metavariables 2014-01-13 12:42:05 -08:00
pp.h feat(kernel): export/import (.olean) binary files 2013-12-28 17:31:35 -08:00
register_module.cpp feat(shell): provide the default environment when parsing Lua files 2014-01-12 18:21:14 -08:00
register_module.h feat(frontends/lean): allow the user to set the trust_imported flag when creating environments using Lua 2014-01-12 16:46:53 -08:00
scanner.cpp feat(frontends/lean): include filename in error messages, use GNU error message style 2014-01-09 11:01:27 -08:00
scanner.h feat(frontends/lean): include filename in error messages, use GNU error message style 2014-01-09 11:01:27 -08:00
shell.cpp refactor(*): error messages 2014-01-13 16:54:21 -08:00
shell.h refactor(frontends/lean/parser): cleanup 2014-01-02 04:37:21 -08:00