aboutsummaryrefslogtreecommitdiff
path: root/backendC/CleanCompilerSources/backend.c
diff options
context:
space:
mode:
Diffstat (limited to 'backendC/CleanCompilerSources/backend.c')
-rw-r--r--backendC/CleanCompilerSources/backend.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/backendC/CleanCompilerSources/backend.c b/backendC/CleanCompilerSources/backend.c
index 13d21f6..63b0da5 100644
--- a/backendC/CleanCompilerSources/backend.c
+++ b/backendC/CleanCompilerSources/backend.c
@@ -2504,6 +2504,12 @@ DeclareFunctionC (char *name, int arity, int functionIndex, unsigned int ancesto
}
} /* DeclareFunctionC */
+void BEStartFunction (int functionIndex)
+{
+ gBEState.be_icl.beicl_module->im_start
+ = gBEState.be_modules[main_dcl_module_n].bem_functions[functionIndex].symb_def;
+}
+
void
BEDeclareFunction (CleanString name, int arity, int functionIndex, int ancestor)
{