Mercurial > hg > octave-nkf
view scripts/testfun/module.mk @ 17796:6b51f5f44aea
find symbols in proper scope when debugging (bug #40397)
* lex.h (lexical_feedback::symbol_table_context::init_scope):
Delete member variable and all uses.
(lexical_feedback::symbol_table_context::pop): Assert that the context
is not empty before popping.
(lexical_feedback::symbol_table_context::push): Use default argument.
(lexical_feedback::symbol_table_context::curr_scope): If empty, return
symbol_table::current_scope, not the initial scope in effect when the
object is created.
* oct-parse.in.yy (octave_base_parser::make_anon_fcn_handle,
octave_base_parser::recover_from_parsing_function):
Don't check for empty lexer.symtab_context here.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 29 Oct 2013 16:29:46 -0400 |
parents | b1b01c69967e |
children | fa9fa6ab76f0 |
line wrap: on
line source
FCN_FILE_DIRS += testfun testfun_FCN_FILES = \ testfun/__have_feature__.m \ testfun/__printf_assert__.m \ testfun/__prog_output_assert__.m \ testfun/__run_test_suite__.m \ testfun/assert.m \ testfun/demo.m \ testfun/example.m \ testfun/fail.m \ testfun/rundemos.m \ testfun/runtests.m \ testfun/speed.m \ testfun/test.m FCN_FILES += $(testfun_FCN_FILES) PKG_ADD_FILES += testfun/PKG_ADD DIRSTAMP_FILES += testfun/$(octave_dirstamp)