[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #49171] Warnings after save from GUI editor ar
From: |
John Swensen |
Subject: |
[Octave-bug-tracker] [bug #49171] Warnings after save from GUI editor are related to the previous version |
Date: |
Sat, 17 Dec 2016 20:34:35 -0000 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.35 Safari/537.36 |
Follow-up Comment #4, bug #49171 (project octave):
I have hunted down what is causing this, but don't enough about the
interaction between the gui and the core of Octave to know the right way to
fix it.
The error is occurring in class method
file_editor_tab::exit_debug_and_clear
at the line
sym = symbol_table::find (base_name);
It appears that trying to find the symbol associated with the file causes the
file to be re-parsed. Since the parsing fails, then the file save fails.
This is called from
file_editor_tab::save_file
at the lines
// Force reparse of this function next time it is used (bug #46632)
if (!exit_debug_and_clear (file_to_save, file_info.baseName ()))
return;
It appears this was introduced by
http://hg.savannah.gnu.org/hgweb/octave/rev/acdd8983d308 in response to Bug
#46632 (see
https://savannah.gnu.org/bugs/?func=detailitem&item_id=46632#options)
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?49171>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #49171] Warnings after save from GUI editor are related to the previous version,
John Swensen <=