aboutsummaryrefslogtreecommitdiffstats
path: root/src/bidi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bidi.c')
-rw-r--r--src/bidi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bidi.c b/src/bidi.c
index bdf60001781..6dbfab37ea3 100644
--- a/src/bidi.c
+++ b/src/bidi.c
@@ -566,7 +566,7 @@ bidi_copy_it (struct bidi_it *to, struct bidi_it *from)
566 RTL characters in the offending line of text. */ 566 RTL characters in the offending line of text. */
567/* Do we need to allow customization of this limit? */ 567/* Do we need to allow customization of this limit? */
568#define BIDI_CACHE_MAX_ELTS_PER_SLOT 50000 568#define BIDI_CACHE_MAX_ELTS_PER_SLOT 50000
569verify (BIDI_CACHE_CHUNK < BIDI_CACHE_MAX_ELTS_PER_SLOT); 569static_assert (BIDI_CACHE_CHUNK < BIDI_CACHE_MAX_ELTS_PER_SLOT);
570static ptrdiff_t bidi_cache_max_elts = BIDI_CACHE_MAX_ELTS_PER_SLOT; 570static ptrdiff_t bidi_cache_max_elts = BIDI_CACHE_MAX_ELTS_PER_SLOT;
571static struct bidi_it *bidi_cache; 571static struct bidi_it *bidi_cache;
572static ptrdiff_t bidi_cache_size = 0; 572static ptrdiff_t bidi_cache_size = 0;
@@ -2626,7 +2626,7 @@ bidi_find_bracket_pairs (struct bidi_it *bidi_it)
2626 ptrdiff_t pairing_pos; 2626 ptrdiff_t pairing_pos;
2627 int idx_at_entry = bidi_cache_idx; 2627 int idx_at_entry = bidi_cache_idx;
2628 2628
2629 verify (MAX_BPA_STACK >= 100); 2629 static_assert (MAX_BPA_STACK >= 100);
2630 bidi_copy_it (&saved_it, bidi_it); 2630 bidi_copy_it (&saved_it, bidi_it);
2631 /* bidi_cache_iterator_state refuses to cache on backward scans, 2631 /* bidi_cache_iterator_state refuses to cache on backward scans,
2632 and bidi_cache_fetch_state doesn't bring scan_dir from the 2632 and bidi_cache_fetch_state doesn't bring scan_dir from the