bugGNU Octave - Bugs: bug #38565, New parser does not accept...

 
 

bug #38565: New parser does not accept 'history 10'

Submitter:  Rik <rik5>
Submitted:  Thu 21 Mar 2013 11:16:18 PM UTC
   
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 24 Mar 2013 02:36:29 PM UTC, comment #2: 

Works for me.  Closing report.

Rik <rik5>
Group administrator
Sat 23 Mar 2013 07:29:51 PM UTC, comment #1: 
John W. Eaton <jwe>
Group administrator
Thu 21 Mar 2013 11:16:18 PM UTC, original submission:  

The new parser, or perhaps lexer, does not like the expression 'history 10'.

Output from Octave:


history 10
parse error:

  syntax error

>>> history 10


However, if I make the input '10' look like some other token such as a string or a number then it works.

Working examples


history +10
history -10
history "10"


Using 'hg bisect' the changeset which supposedly introduced this bug was


The first bad revision is:
changeset:   16257:db7f07b22b9b
parent:      16255:12bf6a3f8c45
user:        John W. Eaton <jwe@octave.org>
date:        Mon Mar 11 14:14:41 2013 -0400
summary:     1/10 commits reworking the lexer


Rik <rik5>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-03-24 rik5 StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code