diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2023-03-01 23:28:43 -0500 |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2023-03-01 23:28:43 -0500 |
commit | cc23996266846890fea708a7eb5dcff66d44c8b6 (patch) | |
tree | dad42b453895975643e623c9264944f1ae189c2a /mesonbuild/interpreterbase/interpreterbase.py | |
parent | 9423631b76093480e619beb2281caa017c981f7a (diff) | |
download | meson-cc23996266846890fea708a7eb5dcff66d44c8b6.zip meson-cc23996266846890fea708a7eb5dcff66d44c8b6.tar.gz meson-cc23996266846890fea708a7eb5dcff66d44c8b6.tar.bz2 |
mparser: Add partial AST to exceptions
Surprisingly enough we need to do this twice. In some cases
(failing-meson/72 triggers this) we can error out after parsing the
codeblock, but without getting the expected eof.
We need to catch both exceptions as either one can interrupt the built
codeblock object.
Co-authored-by: Xavier Claessens <xavier.claessens@collabora.com>
Diffstat (limited to 'mesonbuild/interpreterbase/interpreterbase.py')
0 files changed, 0 insertions, 0 deletions