Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl #32393] [BUG] IMCC - empty subs are not boss

17 views
Skip to first unread message

Will Coleda

unread,
Nov 9, 2004, 10:14:27 PM11/9/04
to bugs-bi...@rt.perl.org
# New Ticket Created by Will Coleda
# Please include the string: [perl #32393]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=32393 >


- the parser doesn't like empty subs or compilation units:
.sub _foo
.end

.emit
.eom
inserting a 'noop' helps.

from imcc/BUGS

Stéphane Payrard

unread,
Nov 9, 2004, 11:50:12 PM11/9/04
to perl6-i...@perl.org
emptysub_32393.patch.txt

Leopold Toetsch

unread,
Nov 10, 2004, 2:59:21 AM11/10/04
to st...@payrard.net, perl6-i...@perl.org
Stéphane Payrard <st...@payrard.net> wrote:
>>
>>
>> - the parser doesn't like empty subs or compilation units:

Thanks, applied plus some whitespace cosmetics and test adaption.
leo

0 new messages