aboutsummaryrefslogtreecommitdiffstats
path: root/cparser/Parse.ml
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2016-08-07 14:57:22 +0200
committerBernhard Schommer <bernhardschommer@gmail.com>2016-08-07 14:57:22 +0200
commitb184e05aada74f34dafd9d1bf6bc24e68ab76e05 (patch)
tree378e2a1654316a99b2ace1e7329969a7f5a345ff /cparser/Parse.ml
parent4ac759d0bceef49d16197e3bb8c9767ece693c5e (diff)
downloadcompcert-kvx-b184e05aada74f34dafd9d1bf6bc24e68ab76e05.tar.gz
compcert-kvx-b184e05aada74f34dafd9d1bf6bc24e68ab76e05.zip
Exit earlier on wrong return types.
Return with a expression that is not compatible with the given return type of a function now causes and fatal error, to avoid problems with later transformation passes depending on it.
Diffstat (limited to 'cparser/Parse.ml')
0 files changed, 0 insertions, 0 deletions