From 56a5bf592fcb6112dbb16a646f36b2830970f329 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Thu, 30 Apr 2020 15:56:15 +0000 Subject: [PATCH] defined hawk_ooecs_amend to hawk_becs_amend in the bch mode --- hawk/lib/hawk-ecs.h | 1 + hawk/lib/mod-hawk.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/hawk/lib/hawk-ecs.h b/hawk/lib/hawk-ecs.h index 8d88d66e..d3756d2e 100644 --- a/hawk/lib/hawk-ecs.h +++ b/hawk/lib/hawk-ecs.h @@ -603,6 +603,7 @@ HAWK_EXPORT hawk_oow_t hawk_uecs_fmt ( # define hawk_ooecs_ccat hawk_becs_ccat # define hawk_ooecs_nccat hawk_becs_nccat # define hawk_ooecs_del hawk_becs_del +# define hawk_ooecs_amend hawk_becs_amend # define hawk_ooecs_vfcat hawk_becs_vfcat # define hawk_ooecs_fcat hawk_becs_fcat # define hawk_ooecs_vfmt hawk_becs_vfmt diff --git a/hawk/lib/mod-hawk.c b/hawk/lib/mod-hawk.c index 403ac19e..611a9443 100644 --- a/hawk/lib/mod-hawk.c +++ b/hawk/lib/mod-hawk.c @@ -228,7 +228,7 @@ static int fnc_array (hawk_rtx_t* rtx, const hawk_fnc_info_t* fi) tmp = hawk_rtx_makearrval(rtx, -1); if (HAWK_UNLIKELY(!tmp)) return -1; /* hard failure */ -/* TODO: take arguments and put them to the map */ +/* TODO: take arguments and put them to the array*/ hawk_rtx_setretval (rtx, tmp); return 0; }