(
Jump to the original submission)
Sun 22 Jun 2014 08:36:33 PM UTC, comment #8:
Closing bug report as fixed
|
Sun 22 Jun 2014 05:01:07 PM UTC, comment #7:
John, your patch fixes the issue on my system.
|
Sun 22 Jun 2014 11:24:20 AM UTC, comment #6:
Pushed http://hg.savannah.gnu.org/hgweb/octave/rev/9a70705dc616
|
Sat 21 Jun 2014 08:38:48 PM UTC, comment #5:
Attached patch checks for the name and then type.
(file #31589)
|
Fri 20 Jun 2014 11:55:14 AM UTC, comment #4:
How about checking for "name" and then "type" keyword?
|
Thu 19 Jun 2014 09:10:08 PM UTC, comment #3:
A double click should open the file in the editor but this file is detected as a data file.
Looks like the line 268 in load-save.cc
detects the keyword "name" in the comment of the file.
|
Thu 19 Jun 2014 05:14:43 PM UTC, comment #2:
It also does it 3.8.2rc1
|
Thu 19 Jun 2014 05:13:38 PM UTC, comment #1:
Does the same for me - only when file is opened from the file browser pane of the GUI by double click, or from the LoadData context menu.
Using the Open/Open File menus work as expected.
|
Thu 19 Jun 2014 11:14:30 AM UTC, original submission:
The GUI gives an 'error : load: bogus identifier ' or ' nameerror: load: bogus identifier' if the script it reads in contains a variable definition and then a comment after it with the 'name' word in it.
Simple example attached. The error doesn't happen if you type the same line into the command window. The command line version does not have the same problem.
Solution for my example was to expand 'name' to 'filename' in the comment.
|
(Note: upload size limit is set to 16384 kB, after insertion of the required
escape characters.)
Attach File(s):
Comment:
Depends on the following items: None found
Items that depend on this one: None found
Follow 9 latest changes.