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


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

Reply via email to