clean: keep $print cells, since they have unmodelled side effects.

This commit is contained in:
whitequark 2020-11-29 16:33:45 +00:00 committed by Marcelina Kościelnicka
parent d5c9953c09
commit d51ecde8c2
1 changed files with 3 additions and 0 deletions

View File

@ -79,6 +79,9 @@ struct keep_cache_t
if (!ignore_specify && cell->type.in(ID($specify2), ID($specify3), ID($specrule))) if (!ignore_specify && cell->type.in(ID($specify2), ID($specify3), ID($specrule)))
return true; return true;
if (cell->type == ID($print))
return true;
if (cell->has_keep_attr()) if (cell->has_keep_attr())
return true; return true;