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

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

[Octave-bug-tracker] [bug #32533] Operator precedence for transpose inco


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #32533] Operator precedence for transpose incorrect
Date: Tue, 19 Apr 2011 22:39:25 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20110107 Iceweasel/3.5.16 (like Firefox/3.5.16)

Follow-up Comment #14, bug #32533 (project octave):

I'm attaching the latest changes.  I think this is now a relatively minor
change.

The precedence of | has been less than & (and likewise for || and &&) for a
long time now.  This is consistent with C and C++, I think, and compatible
with Matlab, so there is actually no change there.

I deleted the test for ---a and fixed the one for a^b^c.

The shift operators have not been defined in Octave's scripting language for a
long time now, but the parser still recognizes them so it is possible that
someone is using them with a user-defined type.  But it seems unlikely enough
that I'm willing to just remove them and see if anyone complains.  I'll do
that in a separate changeset.

All your parser tests now pass with my current version of the changeset
applied.

I think the docs are now correct, and I reordered the table to have highest
precedence at the top as you suggested.

(file #23277)
    _______________________________________________________

Additional Item Attachment:

File name: diffs.txt                      Size:10 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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