mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-02 20:18:22 +08:00
improve func parser
This commit is contained in:
parent
fa515b26cd
commit
68504e4ec6
@ -50,7 +50,7 @@ ret_t func_call_parser_parse(func_call_parser_t* parser) {
|
||||
token = tokenizer_next(tokenizer);
|
||||
tk_strncpy(name, token, TK_NAME_LEN);
|
||||
|
||||
ENSURE(tokenizer_has_more(tokenizer));
|
||||
return_value_if_fail(tokenizer_has_more(tokenizer), RET_BAD_PARAMS);
|
||||
token = tokenizer_next(tokenizer);
|
||||
|
||||
if (parser->on_param != NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user