[aat] Always unsafe-to-concat in state machine

This commit is contained in:
Behdad Esfahbod 2023-01-10 11:49:48 -07:00
parent 62383315fa
commit a70543daf3
1 changed files with 2 additions and 0 deletions

View File

@ -783,6 +783,8 @@ struct StateTableDriver
if (!c->in_place) if (!c->in_place)
buffer->clear_output (); buffer->clear_output ();
buffer->unsafe_to_concat ();
int state = StateTableT::STATE_START_OF_TEXT; int state = StateTableT::STATE_START_OF_TEXT;
auto *last_range = ac->range_flags && (*ac->range_flags) ? &(*ac->range_flags)[0] : nullptr; auto *last_range = ac->range_flags && (*ac->range_flags) ? &(*ac->range_flags)[0] : nullptr;
for (buffer->idx = 0; buffer->successful;) for (buffer->idx = 0; buffer->successful;)