# New Ticket Created by Andreas Rottmann # Please include the string: [perl #52792] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=52792 >
The attached patch allows to dump the PIR by uncommenting a single line in compiler.scm.
Allow easier dumping of the PIR. From: Andreas Rottmann <[EMAIL PROTECTED]> --- languages/eclectus/compiler.scm | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/languages/eclectus/compiler.scm b/languages/eclectus/compiler.scm index 6d5843b..1d92761 100644 --- a/languages/eclectus/compiler.scm +++ b/languages/eclectus/compiler.scm @@ -60,9 +60,14 @@ # compile and evaluate .local pmc past_compiler past_compiler = new [ 'PCT::HLLCompiler' ] - $P0 = split ' ', 'post pir evalpmc' + $P0 = split ' ', 'post pir' past_compiler.'stages'( $P0 ) past_compiler.'eval'(stmts) + $P1 = past_compiler.'eval'(stmts) + #_dumper ($P1) + $P0 = split ' ', 'evalpmc' + past_compiler.'stages'( $P0 ) + past_compiler.'eval'( $P1 ) .end ")))
Regards, Rotty -- Andreas Rottmann | [EMAIL PROTECTED] | [EMAIL PROTECTED] | [EMAIL PROTECTED] http://rotty.uttx.net | GnuPG Key: http://rotty.uttx.net/gpg.asc Fingerprint | C38A 39C5 16D7 B69F 33A3 6993 22C8 27F7 35A9 92E7 v2sw7MYChw5pr5OFma7u7Lw2m5g/l7Di6e6t5BSb7en6g3/5HZa2Xs6MSr1/2p7 hackerkey.com Any technology not indistinguishable from magic is insufficiently advanced. -- Terry Pratchett