|
From: | Mike Miller |
Subject: | [Octave-bug-tracker] [bug #48682] print_usage fails within classdef block |
Date: | Fri, 4 Jun 2021 17:05:00 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36 |
Follow-up Comment #7, bug #48682 (project octave): A workaround for this bug is to use the 1-argument form of print_usage when calling it inside of a classdef definition. This avoids the need for the function to try to guess the name of the caller. The code inside of print_usage that tries to derive the file name of the caller and extract its help text is what fails here. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?48682> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |