Ticket #1035 (closed bug: fixed)

Opened 12 years ago

Last modified 12 years ago

PIR should allow comments between .param lines

Reported by: coke Owned by: plobsing
Priority: normal Milestone:
Component: none Version: trunk
Severity: medium Keywords:
Cc: Language: blizkost
Patch status: Platform:

Description

See  Original ticket

$ more foo.pir
.sub main :main
.param pmc b
# hi
.param pmc c
.end
$ ./parrot foo.pir
error:imcc:syntax error, unexpected PARAM ('.param')
        in file 'foo.pir' line 4

Tests in t/compilers/imcc/syn/regressions.t

Change History

Changed 12 years ago by coke

Note that switching from IMCC to PIRC would be an acceptable way to resolve this ticket.

Changed 12 years ago by shockwave

Blank lines before or in between .param declarations also cause error.

Those blank lines should be ignored and not cause errors.

The errors are issues whether the blank lines are in Unix or Windows mode (\n and \n\r)

Changed 12 years ago by coke

  • owner set to plobsing
  • lang set to blizkost
  • priority changed from minor to normal

Changed 12 years ago by plobsing

  • status changed from new to closed
  • resolution set to fixed

fixed in r46414

Note: See TracTickets for help on using tickets.