binpac: BIT-1914: move &check implementation to new &enforce attribute

&check returns to being a no-op to avoid unintentionally
breaking existing code.
This commit is contained in:
Jon Siwek 2018-04-19 14:05:08 -05:00 committed by Tim Wojtulewicz
parent 0ecf7755ea
commit 8a1c8db02e
6 changed files with 23 additions and 10 deletions

View file

@ -184,6 +184,7 @@ ESCSEQ (\\([^\n]|[0-7]{3}|x[[:xdigit:]]{2}))
<INITIAL>&byteorder return TOK_ATTR_BYTEORDER;
<INITIAL>&check return TOK_ATTR_CHECK;
<INITIAL>&chunked return TOK_ATTR_CHUNKED;
<INITIAL>&enforce return TOK_ATTR_ENFORCE;
<INITIAL>&exportsourcedata return TOK_ATTR_EXPORTSOURCEDATA;
<INITIAL>&if return TOK_ATTR_IF;
<INITIAL>&length return TOK_ATTR_LENGTH;