Ticket #366: HLLCompiler-dump-on-eval.patch
| File HLLCompiler-dump-on-eval.patch, 0.9 KB (added by chrisdolan, 4 years ago) |
|---|
-
parrot/compilers/pct/src/PCT/HLLCompiler.pir
765 765 if $I0 goto version 766 766 767 767 768 .local string target 769 target = adverbs['target'] 770 target = downcase target 771 768 772 $S0 = adverbs['e'] 769 773 $I0 = exists adverbs['e'] 770 774 if $I0 goto eval_line … … 785 789 goto save_output 786 790 eval_line: 787 791 result = self.'eval'($S0, '-e', args :flat, adverbs :flat :named) 792 if target == '' goto no_dump 793 if target == 'pir' goto no_dump 794 '_dumper'(result, target) 795 no_dump: 788 796 789 797 save_output: 790 798 if null result goto end 791 799 unless result goto end 792 .local string target793 target = adverbs['target']794 target = downcase target795 800 if target != 'pir' goto end 796 801 .local string output 797 802 .local pmc ofh
