renamed hcl_read2() and hcl_compile2() to hcl_read() and hcl_compile() respectively

This commit is contained in:
2021-01-29 08:40:10 +00:00
parent d4fbd0a298
commit d19fab7e3f
7 changed files with 32 additions and 33 deletions

View File

@ -1457,7 +1457,7 @@ int hcl_server_proto_handle_request (hcl_server_proto_t* proto)
if (proto->req.state == HCL_SERVER_PROTO_REQ_IN_TOP_LEVEL) hcl_reset(proto->hcl);
proto->worker->opstate = HCL_SERVER_WORKER_OPSTATE_READ;
obj = hcl_read2(proto->hcl);
obj = hcl_read(proto->hcl);
if (!obj)
{
if (hcl_geterrnum(proto->hcl) == HCL_ESYNERR) reformat_synerr (proto->hcl);
@ -1477,7 +1477,7 @@ int hcl_server_proto_handle_request (hcl_server_proto_t* proto)
}
proto->worker->opstate = HCL_SERVER_WORKER_OPSTATE_COMPILE;
n = hcl_compile2(proto->hcl, obj);
n = hcl_compile(proto->hcl, obj);
hcl_freecnode (proto->hcl, obj);
if (n <= -1)
{