Skip to content

Commit

Permalink
cautocmpl.c: "_stmt" -> "_op"
Browse files Browse the repository at this point in the history
  • Loading branch information
kazarmy committed Jan 14, 2025
1 parent 71641a7 commit a228041
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion librz/core/cautocmpl.c
Original file line number Diff line number Diff line change
Expand Up @@ -847,7 +847,7 @@ static bool is_arg_identifier_in_tmp_stmt(TSNode node) {
}
const char *node_type = ts_node_type(node);
bool is_iter_or_tmp = rz_str_startswith(node_type, "tmp_") || rz_str_startswith(node_type, "iter_");
return is_iter_or_tmp && rz_str_endswith(node_type, "_stmt");
return is_iter_or_tmp && rz_str_endswith(node_type, "_op");
}

static bool find_autocmplt_type_at_stmt(struct autocmplt_data_t *ad, RzCore *core, RzLineBuffer *buf) {
Expand Down

0 comments on commit a228041

Please sign in to comment.