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

There appears to be a problem whereby numbers that include
decimal points inside IMCC POD cause an error. E.g.:

 .sub _main
     print "pass\n"
     end
 .end
 =head1 Some POD
 This should be ignored, incl. digit 1
 =cut

outputs:
 pass

but

 .sub _main
     print "pass\n"
     end
 .end
 =head1 Some POD
 This should be ignored, incl. number 1.0
 =cut

outputs:
 (error) line 7: parse error, unexpected $end, expecting '['
 Didn't create output asm.

(Note: both of these files are saved with .imc extensions
and were run without any switches to parrot).

I don't have the skills to fix this, but I've included a patch
file with a test for this problem that I hope is OK.

Cheers,

Andy Bussey


=====
Andy Bussey
Email  [EMAIL PROTECTED]
Mobile 07814 740887

________________________________________________________________________
Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://uk.messenger.yahoo.com/

-- attachment  1 ------------------------------------------------------
url: http://rt.perl.org/rt2/attach/62627/46105/20c6a6/imcc_pod.patch

Attachment: imcc_pod.patch
Description: imcc_pod.patch

Reply via email to