diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/msgpack-gen.lua | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/scripts/msgpack-gen.lua b/scripts/msgpack-gen.lua index bb37ae94da..581641ae06 100644 --- a/scripts/msgpack-gen.lua +++ b/scripts/msgpack-gen.lua @@ -34,8 +34,8 @@ c_params = Ct(c_void + c_param_list)  c_proto = Ct(    Cg(c_type, 'return_type') * Cg(c_id, 'name') *    fill * P('(') * fill * Cg(c_params, 'parameters') * fill * P(')') * -  Cg(Cc(false), 'deferred') * -  (fill * Cg((P('FUNC_ATTR_DEFERRED') * Cc(true)), 'deferred') ^ -1) * +  Cg(Cc(false), 'async') * +  (fill * Cg((P('FUNC_ATTR_ASYNC') * Cc(true)), 'async') ^ -1) *    fill * P(';')    )  grammar = Ct((c_proto + c_comment + c_preproc + ws) ^ 1) @@ -279,7 +279,7 @@ for i = 1, #functions do                 '(String) {.data = "'..fn.name..'", '..                 '.size = sizeof("'..fn.name..'") - 1}, '..                 '(MsgpackRpcRequestHandler) {.fn = handle_'..  fn.name.. -               ', .defer = '..tostring(fn.deferred)..'});\n') +               ', .async = '..tostring(fn.async)..'});\n')    if #fn.name > max_fname_len then      max_fname_len = #fn.name | 
