Show
Ignore:
Timestamp:
07/04/08 13:39:38 (5 months ago)
Author:
pmurias
Message:

[pixie] arrays are marked in the dumps, stranger token names work more often

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • misc/pixie/pixie_actions5

    r21126 r21213  
    11### comp_unit  
    22make (IRx1::CompUnit->new(statements=>$_->{statementlist}->item)) 
     3### block  
     4make (IRx1::Block->new(statements=>$_->{statementlist}->item)) 
    35### statementlist  
    4  make ([map { ref $_->item ? $_->item : '#' . $_->item } @{$_->{statement}}]) 
     6 make ([map { ref $_->item ? $_->item : do {(my $tmp = $_->item) =~ s/^^/#todo: /mg;$tmp}} @{$_->{statement}}]) 
    57### statement control 
    68make ($_->{statement_control}->item)  
     
    1012### statement_control:use  
    1113make(IRx1::Use->new(module_name=>$_->{module_name}->item)) 
     14### statement_control:if  
     15make (IRx1::Cond->new(clauses=>[EXPR($_->{EXPR}),$_->{pblock}{block}->item],default=>$_->{else} ? $_->{else}->item : undef)) 
    1216### noun  
    1317