|
| From: | Chris Mumby |
| Subject: | [Octave-bug-tracker] [bug #42586] bogus identifier error in GUI if comment string contains 'name' |
| Date: | Thu, 19 Jun 2014 11:14:30 +0000 |
| User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36 |
URL:
<http://savannah.gnu.org/bugs/?42586>
Summary: bogus identifier error in GUI if comment string
contains 'name'
Project: GNU Octave
Submitted by: chrismumby
Submitted on: Thu 19 Jun 2014 11:14:30 GMT
Category: GUI
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name: Chris Mumby
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 3.8.1
Operating System: Microsoft Windows
_______________________________________________________
Details:
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.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Thu 19 Jun 2014 11:14:30 GMT Name: script.m Size: 91B By: chrismumby
<http://savannah.gnu.org/bugs/download.php?file_id=31581>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?42586>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |