|
From: | anonymous |
Subject: | [Octave-bug-tracker] [bug #60941] Whitespace now causes parse error for postfix increment / decrement operators |
Date: | Mon, 19 Jul 2021 11:47:47 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:90.0) Gecko/20100101 Firefox/90.0 |
URL: <https://savannah.gnu.org/bugs/?60941> Summary: Whitespace now causes parse error for postfix increment / decrement operators Project: GNU Octave Submitted by: None Submitted on: Mon 19 Jul 2021 03:47:45 PM UTC Category: Interpreter Severity: 3 - Normal Priority: 5 - Normal Item Group: Regression Status: None Assigned to: None Originator Name: Originator Email: Open/Closed: Open Release: dev Discussion Lock: Any Operating System: GNU/Linux _______________________________________________________ Details: This behavior was found while testing something in bug #60920: octave:1> foo = 0 foo = 0 octave:2> foo ++ error: foo used as variable and later as function octave:3> foo++ ans = 0 octave:4> foo foo = 1 octave:5> ++ foo ans = 2 Apparently inserting a space after a variable when calling a postfix increment or decrement operator now causes a variable/function parse error. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?60941> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |