|
From: | anonymous |
Subject: | [Octave-bug-tracker] [bug #56881] Command line functions are visible from m files |
Date: | Fri, 13 Sep 2019 16:55:49 -0400 (EDT) |
User-agent: | Mozilla/5.0 (Windows NT 5.1; rv:60.9) Goanna/4.1 PaleMoon/28.2.0a1 |
Follow-up Comment #11, bug #56881 (project octave): As the bug marked as wont fix if there is a will to fix it would be simple. 1. Adding a method named bool is_cmd_line_function(); to "octave_user_function" or "octave_function" class 2. in the tree_evaluator::visit_function_def mark the function as cmd_line. 3. in fcn_info::fcn_info_rep::xfind if and only if the current function is a cmd_line function search for command line functions _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?56881> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |