CREG to check for \keep

This commit is contained in:
Eddie Hung 2019-09-26 10:32:01 -07:00
parent c0bb1d22e8
commit bd8661e024
1 changed files with 3 additions and 0 deletions

View File

@ -87,6 +87,9 @@ code
reject;
if (c.wire->get_bool_attribute(\keep))
reject;
Const init = c.wire->attributes.at(\init, State::Sx);
if (!init.is_fully_undef() && !init.is_fully_zero())
reject;
}
endcode