diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 2018-08-17 17:21:24 +0200 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 2018-08-17 17:21:24 +0200 |
commit | a40a2797d80d510bcd36bb72cf3eafba4cee1bd5 (patch) | |
tree | 02d3b7725405b49c565f1f7cc2f528518392be99 /cparser/MenhirLib/Interpreter_complete.v | |
parent | 7f6149a019d796c479a1bbb6f1ad0a3181732dd2 (diff) | |
download | compcert-a40a2797d80d510bcd36bb72cf3eafba4cee1bd5.tar.gz compcert-a40a2797d80d510bcd36bb72cf3eafba4cee1bd5.zip |
For "packed" attribute, check that 3rd parameter is 0 or 1
It's meant as a Boolean (byte-swap or not), so any other value is dangerous.
The error message is the generic "ill-formed 'packed' attribute".
Maybe we don't need a custom error message.
Diffstat (limited to 'cparser/MenhirLib/Interpreter_complete.v')
0 files changed, 0 insertions, 0 deletions