|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #32533] Operator precedence for transpose incorrect |
Date: | Wed, 20 Apr 2011 02:35:40 +0000 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.16) Gecko/20110323 Ubuntu/10.04 (lucid) Firefox/3.6.16 |
Follow-up Comment #15, bug #32533 (project octave): I started trying to write new parser tests against the new documented behavior and came across this: a = 1; b = 2.^a++ Under 3.4 b = 2, a = 2 On stable branch w/latest precedence patch error: invalid lvalue function called in expression I think the 3.4 behavior is correct since a++ should return 1 to the current expression being evaluated while incrementing the variable a only after the entire expression has been evaluated. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?32533> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |