octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #36476] classdef: parsing of superclass calls


From: anonymous
Subject: [Octave-bug-tracker] [bug #36476] classdef: parsing of superclass calls fails
Date: Tue, 15 May 2012 23:31:43 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20100101 Firefox/11.0

URL:
  <http://savannah.gnu.org/bugs/?36476>

                 Summary: classdef: parsing of superclass calls fails
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Tue 15 May 2012 11:31:42 PM UTC
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: James Laird
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

Any superclass call of the form:
address@hidden(ident)
with no whitespace between superclass and ident, falls foul of:
address@hidden
in the lexer; '.' should be '\.'

Patch and crude test case attached.


:16> classdef_test_super
parse error near line 5 of file /home/jhl/classdef_test_super.m
  syntax error
>>>             address@hidden(foo)
                                  ^




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tue 15 May 2012 11:31:42 PM UTC  Name: classdef_supers.patch  Size: 468B
  By: None

<http://savannah.gnu.org/bugs/download.php?file_id=25866>
-------------------------------------------------------
Date: Tue 15 May 2012 11:31:42 PM UTC  Name: classdef_test_super.m  Size: 150B
  By: None

<http://savannah.gnu.org/bugs/download.php?file_id=25867>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?36476>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]