summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--instr-scripts/process_internals.py15
1 files changed, 14 insertions, 1 deletions
diff --git a/instr-scripts/process_internals.py b/instr-scripts/process_internals.py
index d3c9ff5..fbbf04e 100644
--- a/instr-scripts/process_internals.py
+++ b/instr-scripts/process_internals.py
@@ -59,13 +59,26 @@ class Process_Internals:
def parse (self):
start = self.xml.find("./sequential_statement_chain")
- self.handle_sequential_statement_chain(
+ last_nodes = self.handle_sequential_statement_chain(
start,
[],
0,
[]
)
+ final_node_id = new_element(self.output, self.id_manager, "node")
+
+ for ln in last_nodes:
+ self.output.write(
+ "(node_connect "
+ + ln
+ + " "
+ + final_node_id
+ + ")\n"
+ )
+
+
+
def handle_sequential_statement_chain (
self,
xml,