|
| From: | Avinoam Kalma |
| Subject: | [Octave-bug-tracker] [bug #49171] MXE Octave: Warnings after save are related to the previous version |
| Date: | Fri, 23 Sep 2016 21:07:00 +0000 (UTC) |
| User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36 |
URL:
<http://savannah.gnu.org/bugs/?49171>
Summary: MXE Octave: Warnings after save are related to the
previous version
Project: GNU Octave
Submitted by: avinoam
Submitted on: Fri 23 Sep 2016 09:06:58 PM GMT
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Regression
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.2.0-rc2
Operating System: Microsoft Windows
_______________________________________________________
Details:
Example 1:
1. Creating a file names "foo.m"
function foo
disp ('foo);
endfunction
2. Using the "save as" command to save this file as "foo1.m"
3. Using the editor to change the function name to "foo1"
4. Saving the file. I get a warning:
>> warning: function name 'foo' does not agree with function filename
'D:\Octave\BUGS\foo1.m'
Example 2:
Creating a file names "foo1.m" with an error
function foo1
disp ('foo'))));
endfunction
*fixing* the error and saving the file I get
>> parse error near line 2 of file D:\Octave\BUGS\foo1.m
syntax error
>>> disp ('foo'))));
This error is marked "regression" because it did not appear in 4.0.3
_______________________________________________________
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] |