mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
Detect when gobject-introspection is missing
Instead of a compiler bug error, show a proper error message that asks whether gobject-introspection is installed. Fixes #58.
This commit is contained in:
parent
f6355fe412
commit
42aa91d4d9
3 changed files with 9 additions and 1 deletions
|
@ -81,6 +81,8 @@ class AstNode:
|
|||
validator(self)
|
||||
except CompileError as e:
|
||||
yield e
|
||||
if e.fatal:
|
||||
return
|
||||
|
||||
for child in self.children:
|
||||
yield from child._get_errors()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue