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

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

[Octave-bug-tracker] [bug #38565] New parser does not accept 'history 10


From: Rik
Subject: [Octave-bug-tracker] [bug #38565] New parser does not accept 'history 10'
Date: Thu, 21 Mar 2013 23:16:20 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0

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

                 Summary: New parser does not accept 'history 10'
                 Project: GNU Octave
            Submitted by: rik5
            Submitted on: Thu 21 Mar 2013 04:16:18 PM PDT
                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: dev
        Operating System: Any

    _______________________________________________________

Details:

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 <address@hidden>
date:        Mon Mar 11 14:14:41 2013 -0400
summary:     1/10 commits reworking the lexer






    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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