From cbb4a0aa5c03fbce94abcf1421c270e05b54696f Mon Sep 17 00:00:00 2001 From: belliash Date: Sat, 18 Aug 2018 20:42:54 +0200 Subject: [PATCH] get_included_files() should return a list of included, files. --- engine/vm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/vm.c b/engine/vm.c index 835a0d1..b97d31c 100644 --- a/engine/vm.c +++ b/engine/vm.c @@ -10597,7 +10597,7 @@ static int vm_builtin_get_include_path(ph7_context *pCtx, int nArg, ph7_value ** * Included paths as a string */ static int vm_builtin_get_included_files(ph7_context *pCtx, int nArg, ph7_value **apArg) { - SySet *pFiles = &pCtx->pVm->aFiles; + SySet *pFiles = &pCtx->pVm->aIncluded; ph7_value *pArray, *pWorker; SyString *pEntry; int c, d;