[perl #46499] [RFE] [lex/yacc] Allow comment lines in PIR .param list
Will Coleda via RT
parrotbug-followup at parrotcode.org
Mon Sep 21 05:53:01 UTC 2009
On Wed Oct 17 12:09:54 2007, bernhard wrote:
> Currently following PIR is failing because of the '#' in the '.param' list.
>
> .sub main :main
>
> ( $S1 ) = my_sub( 'hello', 'world' )
> say $S1
> .end
>
> .sub my_sub
> .param string str1
> #
> .param string str3
>
> .local string hello
> hello = concat str1, str3
>
> .return( hello )
> .end
>
>
> This surprised me, as I expected that '#' lines would be ignored.
> So I propose to tweak the PIR grammar such that comment lines are allowed
>
> Regards,
> Bernhard
>
Now tracking this issue in https://trac.parrot.org/parrot/ticket/1035
--
Will "Coke" Coleda
More information about the parrot-dev
mailing list