From 979917144f597242ef88034c9853a7a1c64549c6 Mon Sep 17 00:00:00 2001 From: joe-conigliaro Date: Sat, 27 Jul 2019 02:02:58 +1000 Subject: [PATCH] internal modules --- compiler/modules.v | 4 ++++ compiler/table.v | 14 +++++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/compiler/modules.v b/compiler/modules.v index cc664ebd19..02d8032bdb 100644 --- a/compiler/modules.v +++ b/compiler/modules.v @@ -139,6 +139,10 @@ pub fn(graph &ModDepGraph) last_node() { return graph.nodes[graph.nodes.len-1] } +pub fn(graph &ModDepGraph) last_cycle() string { + return graph.nodes[graph.nodes.len-1].last_cycle +} + pub fn(graph &ModDepGraph) display() { for i:=0; i