bugGNU Octave - Bugs: bug #49819, classdef: parse error in...

 
 

bug #49819: classdef: parse error in properties block

Submitted by:  Amro <amro_octave>
Submitted on:  Fri 09 Dec 2016 11:00:31 PM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: 4.2.0Operating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 10 Dec 2016 04:38:29 PM UTC, comment #1:

I checked in the following change on the stable branch:

http://hg.savannah.gnu.org/hgweb/octave/rev/194481349d22

Closing report as this appears to fix the problem for me.

John W. Eaton <jwe>
Project Administrator
Fri 09 Dec 2016 11:00:31 PM UTC, original submission:

The following class throws a syntax error in Octave 4.2.0:

If I add a semicolon at the end of the line "x = 0;" then it works. MATLAB doesn't require the semicolon, and works either way:

Amro <amro_octave>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by amro_octave (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 10 Dec 2016 04:38:29 PM UTCjweStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1