Ticket #1480 (new bug)

Opened 5 years ago

Last modified 4 years ago

Preprocessing using parrot -E fails

Reported by: uniejo Owned by:
Priority: normal Milestone:
Component: none Version: 2.1.0
Severity: medium Keywords:
Cc: Language:
Patch status: Platform: linux

Description

In revision 44472 preprocessing fails $ echo ".HLL 'test1'" | ./parrot -E - Segmentation fault

In revision 44371 (used by rakudo) preprocessing seems to replace .HLL keyword with garbage (I could be wrong): $ (echo ".HLL 'test1'"; echo ".HLL 'test2'"; echo ".HLL 'test3'") | ./parrot -E - ��� 'test1' 'test1' 'test2' 'test2' 'test3'

Change History

Changed 4 years ago by coke

as of r46617, these now generate:

$ echo ".HLL 'test1'" | ./parrot -E -
(null) 'test1'

$ (echo ".HLL 'test1'"; echo ".HLL 'test2'"; echo ".HLL 'test3'") | ./parrot -E -
 'test1'
'test1' 'test2'
'test2' 'test3'

So, we've upgraded from a segfault.

Note: See TracTickets for help on using tickets.