|
From: | Dmitri A. Sergatskov |
Subject: | [Octave-bug-tracker] [bug #56266] octave shows error incorrectly |
Date: | Sat, 4 May 2019 23:23:25 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0 |
URL: <https://savannah.gnu.org/bugs/?56266> Summary: octave shows error incorrectly Project: GNU Octave Submitted by: dasergatskov Submitted on: Sun 05 May 2019 03:23:24 AM UTC 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: GNU/Linux _______________________________________________________ Details: 39b4341c3376 tip @ Running m-file (with an error): cat t1.m N = 100 for ii in 1:N disp ("Hello!") endfor results in wrong/confusing diagnostic message: ./run-octave -q -f octave:1> t1 parse error near line 2 of file /home/dima/src/octave/gcc_def/t1.m syntax error >>> N = 100 ^ octave:1> Running the same commands interactively works as expected: ./run-octave -q -f octave:1> N=100 N = 100 octave:2> for ii in 1:N parse error: syntax error >>> for ii in 1:N ^ octave:2> Dmitri. -- _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?56266> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |