From: Meisinger@ida.ing.tu-bs.de (Matthias Meisinger)
Date: Wed, 28 Sep 94 14:28:21 +0100
Subject: tree_block
Message-Id: <9409281328.AA17285@vergil.ida.ing.tu-bs.de>


Hi !

I have a problem (once again). I want to take a specific part of a procedure,
and make a tree_block of it. Something like this:

                           mrk
   mrk                     BLOCK
   tree_node 1               tree_node 1
   tree_node 2               tree_node 2
     .                         .
     .             --->        .
     .                         .
   tree_node (n-1)           tree_node (n-1)
   tree_node n               tree_node n
   mrk                     BLOCK END
                           mrk

The block should then become the `IF THEN' part of an IF.

All I have tried has ended in one of two cases:

 1. If I clone the code, I get a tree_block with the right tree_nodes,
    but labels in the block are renamed.

 2. If I have made no clone, then all goes wrong with sym_tabs and parent-
    pointers.

What can I do?


--- M.M.