From 266b3a34d5849d7ed69cd1700b0afecf267849e7 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Sun, 21 Jul 2024 02:11:37 +0900 Subject: [PATCH] minor comment change --- lib/comp.c | 4 ++-- lib/exec.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/comp.c b/lib/comp.c index 75dd817..dd31edc 100644 --- a/lib/comp.c +++ b/lib/comp.c @@ -6035,12 +6035,12 @@ int hcl_compile (hcl_t* hcl, hcl_cnode_t* obj, int flags) hcl->log.default_type_mask |= HCL_LOG_COMPILER; /* - * In the non-INTERACTIVE mode, the literal frame base doesn't matter. + * In the non-INTERACTIVE mode, the literal frame base(lfbase) doesn't matter. * Only the initial function object contains the literal frame. * No other function objects are created. All 'defun/fun' defintions are * translated to block context objects instead. * - * In the INTERACTIVE mode, the literal frame base plays a key role. + * In the INTERACTIVE mode, the literal frame base(lfbase) plays a key role. * hcl_compile() is called for the top-level expression and the literal * frame base can be 0. The means it is ok for a top-level code to * reference part of the literal frame reserved for a function. diff --git a/lib/exec.c b/lib/exec.c index 2113f73..93488ce 100644 --- a/lib/exec.c +++ b/lib/exec.c @@ -4782,7 +4782,7 @@ hcl_oop_t hcl_execute (hcl_t* hcl) #endif } - /* create a virtual function object that hold the bytes codes generated plus the literal frame */ + /* create a virtual function object that holds the byte code generated plus the literal frame */ funcobj = make_function(hcl, hcl->code.lit.len, hcl->code.bc.ptr, hcl->code.bc.len, hcl->code.dbgi); if (HCL_UNLIKELY(!funcobj)) return HCL_NULL;