diff options
| author | Onur Gündüz <ogunduz@gmail.com> | 2026-06-25 17:58:46 +0200 |
|---|---|---|
| committer | Onur Gündüz <ogunduz@gmail.com> | 2026-06-25 17:58:46 +0200 |
| commit | f7ef995ff54da671f9d7665b3d92ff25934c1e8b (patch) | |
| tree | 1401d04c0f464b32bffd63f787a63a82c6959e97 /libffwd/tokenize.c | |
| parent | 417f861f3661c2253258b5683a627d961e81fc68 (diff) | |
| download | ffwd-f7ef995ff54da671f9d7665b3d92ff25934c1e8b.tar.gz ffwd-f7ef995ff54da671f9d7665b3d92ff25934c1e8b.zip | |
chore: run clang-format
Diffstat (limited to 'libffwd/tokenize.c')
| -rw-r--r-- | libffwd/tokenize.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/libffwd/tokenize.c b/libffwd/tokenize.c index f7a50f7..df5861e 100644 --- a/libffwd/tokenize.c +++ b/libffwd/tokenize.c @@ -189,9 +189,7 @@ void ffwd_tok_free(ffwd_tok_t *t) { free(t); } -int ffwd_tok_context_separator_id(const ffwd_tok_t *t) { - return t ? t->context_separator_id : -1; -} +int ffwd_tok_context_separator_id(const ffwd_tok_t *t) { return t ? t->context_separator_id : -1; } void ffwd_tok_set_append_terminal(ffwd_tok_t *t, int on) { if (t) @@ -289,10 +287,7 @@ static int late_id_is_skipped(const ffwd_tok_t *t, int id) { return 0; } -int ffwd_tokenize_late(ffwd_tok_t *t, - const char *text, - int is_query, - ffwd_late_tokens_t *out) { +int ffwd_tokenize_late(ffwd_tok_t *t, const char *text, int is_query, ffwd_late_tokens_t *out) { memset(out, 0, sizeof(*out)); if (!t || !text) return -1; |
