[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #38549] comments on command line not terminate
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #38549] comments on command line not terminated by newline with new parser |
Date: |
Tue, 19 Mar 2013 17:30:50 +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/?38549>
Summary: comments on command line not terminated by newline
with new parser
Project: GNU Octave
Submitted by: rik5
Submitted on: Tue 19 Mar 2013 10:30:48 AM PDT
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Regression
Status: None
Assigned to: jwe
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Any
_______________________________________________________
Details:
The following code should define a, b, and c. Instead, the line immediately
after a comment is ignored (treated as part of the comment). This is a
regression from the current stable parser (3.6.4).
Sample Code:
octave:1> a=1
a = 1
octave:2> %comment
octave:2> b=2
octave:2> c=a+b
error: 'b' undefined near line 1 column 5
The code works correctly if the commands are put in a file and the file is
sourced, so this is only about comments typed in on the command line (such as
with copy and paste of a chunk of code).
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?38549>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #38549] comments on command line not terminated by newline with new parser,
Rik <=