# HG changeset patch # User John W. Eaton # Date 1511113755 18000 # Node ID a01c210e42874301ee870478c337142f5beb11a7 # Parent a26a8714db26fbfd79622cdd73ff2cded89ae502 delete unused symbol_table functions * symtab.h (symbol_table::push_context, symbol_table::pop_context): Delete unused functions. diff -r a26a8714db26 -r a01c210e4287 libinterp/corefcn/symtab.h --- a/libinterp/corefcn/symtab.h Sun Nov 19 09:51:19 2017 -0500 +++ b/libinterp/corefcn/symtab.h Sun Nov 19 12:49:15 2017 -0500 @@ -516,32 +516,6 @@ error ("install_built_in_dispatch: '%s' is undefined", name.c_str ()); } - void push_context (void) - { - if (m_current_scope == m_top_scope) - error ("invalid call to symtab::push_context"); - - if (m_current_scope) - m_current_scope->push_context (); - } - - // This is written as two separate functions instead of a single - // function with default values so that it will work properly with - // unwind_protect. - - void pop_context (void) - { - if (m_current_scope == m_top_scope) - error ("invalid call to symtab::pop_context"); - - if (m_current_scope) - m_current_scope->pop_context (); - } - - // For unwind_protect where a pointer argument is needed. - - void pop_context (void *) { pop_context (); } - std::list glob (const std::string& pattern) { return (m_current_scope