extract_interface: detect failures during parsing
commit72bc61e7945484740c6a727bfbe191892d5836e2
authorSven Verdoolaege <sven.verdoolaege@gmail.com>
Wed, 10 Jul 2019 06:54:34 +0000 (10 08:54 +0200)
committerSven Verdoolaege <sven.verdoolaege@gmail.com>
Thu, 11 Jul 2019 20:18:28 +0000 (11 22:18 +0200)
treef31741d3b87059c7094bbdb1630c738a80b7a209
parent4875d3ba923264e2857a40da3d31ab2d336dec78
extract_interface: detect failures during parsing

Failures during bindings generation get detected since
isl-0.18-1054-g2f9b9b4043 (detect failures in bindings generation,
Sat Jan 27 12:44:04 2018 +0100), but this only works
if extract_interface itself reports a failure.
Make it report a failure in case of parsing errors.

Reported-by: Kornilios Kourtis <kkourt@kkourt.io>
Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
interface/extract_interface.cc