|
From: | Kai Torben Ohlhus |
Subject: | [Octave-bug-tracker] [bug #58780] 'source' throws unexpected syntax error. |
Date: | Mon, 20 Jul 2020 01:46:04 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.89 Safari/537.36 |
Update of bug #58780 (project octave): Category: None => Interpreter Severity: 3 - Normal => 2 - Minor Priority: 5 - Normal => 3 - Low Status: None => Confirmed Release: 5.2.0 => 6.0.90 _______________________________________________________ Follow-up Comment #4: Thank you for your bug report. I can confirm the issue for Octave 6 and 7. __octave_config_info__.hg_id ans = 713398d4a3c3 I do not think that it is super important to be fixed, but the interpreter acts a little weird here. I cannot reliably say when "source" really parses the file and when not. Maybe the documentation could be more verbose about it. https://www.octave.org/doc/v5.2.0/XREFsource.html e.g. Parse and execute the contents of "file", where "file" is an absolute or relative path to a file. In this case any call to "source foo" should error. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?58780> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |