# New Ticket Created by Klaas-Jan Stol # Please include the string: [perl #45411] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=45411 >
hi, IMCC has multi-line yield and return statements, like so: .pcc_begin_return # do return statements .pcc_end_return Instead of writing "return" one can write .pcc_begin/end_yield, to indicate a multiline yield statement. However, IMCC allows for combining the two, like so: .pcc_begin_return # do return statements .pcc_end_yield (and .pcc_begin_yield/.pcc_end_return also works). I propose to make IMCC a bit stricter and have it enforce to use the appropriate closing directive. So, close .pcc_begin_return with a .pcc_end_return directive, and likewise for _yield directives. (on a side note, instead of using ".return" directives in a yield block, we could introduce ".yield" directive, making it even more explicit that it's a yield statement) regards, kjs