Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Preprocessing using parrot -E fails #587

Open
parrot opened this Issue Feb 25, 2010 · 1 comment

Comments

Projects
None yet
3 participants
@ghost

ghost commented Feb 25, 2010

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'

Originally http://trac.parrot.org/parrot/ticket/1480 by uniejo

Contributor

coke commented May 15, 2010

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.

@ghost ghost assigned Whiteknight May 9, 2012

@Whiteknight Whiteknight removed their assignment Mar 7, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment