put back two assertions in exec.c
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
hyung-hwan 2024-10-19 02:54:07 +09:00
parent f2479c55cd
commit 0b65671adb

View File

@ -4050,14 +4050,14 @@ static int execute (hcl_t* hcl)
if (b3 > 0) if (b3 > 0)
{ {
HCL_STACK_POP_TO (hcl, cvars_str); HCL_STACK_POP_TO (hcl, cvars_str);
// HCL_ASSERT (hcl, HCL_IS_STRING(hcl, cvars_str)); HCL_ASSERT (hcl, HCL_IS_STRING(hcl, cvars_str));
} }
else cvars_str = hcl->_nil; else cvars_str = hcl->_nil;
if (b2 > 0) if (b2 > 0)
{ {
HCL_STACK_POP_TO (hcl, ivars_str); HCL_STACK_POP_TO (hcl, ivars_str);
// HCL_ASSERT (hcl, HCL_IS_STRING(hcl, ivars_str)); HCL_ASSERT (hcl, HCL_IS_STRING(hcl, ivars_str));
} }
else ivars_str = hcl->_nil; else ivars_str = hcl->_nil;