aboutsummaryrefslogtreecommitdiffstats
path: root/driver/Frontend.ml
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2018-08-17 17:21:24 +0200
committerXavier Leroy <xavier.leroy@inria.fr>2018-08-17 17:21:24 +0200
commita40a2797d80d510bcd36bb72cf3eafba4cee1bd5 (patch)
tree02d3b7725405b49c565f1f7cc2f528518392be99 /driver/Frontend.ml
parent7f6149a019d796c479a1bbb6f1ad0a3181732dd2 (diff)
downloadcompcert-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 'driver/Frontend.ml')
0 files changed, 0 insertions, 0 deletions