# New Ticket Created by  Will Coleda 
# Please include the string:  [perl #52570]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=52570 >


The current op definitions have a majority of ops that end with "goto
NEXT();", indicating that control flow should proceed to the next op.

The following patch changes the syntax for an op so that this is the
default situation, which can be overridden by adding the flag "flow"
to an op.

There are some ops marked "flow" in this scheme which end with the
"moral equivalent" of "goto NEXT();", but are spelled slightly
differently. I'm not sure if that would mean a runtime cost, so I left
those alone.

With this patch, t/codingstd/c_operator.t fails a few tests, because
the flag syntax of ":foo,bar" is (incorrectly) treated as if it were C
syntax. (but if we want to enforce the comma or somehow change this
syntax, now's a good time to speak up.)

# 19 files changed, 106 insertions(+), 727 deletions(-)

-- 
Will "Coke" Coleda

Attachment: ops.diff.gz
Description: GNU Zip compressed data

Reply via email to