mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
Fix error handling on keyword blocks
Some blocks (menu, layout, etc) would emit an error if they didn't find an opening brace, which would fail if, for example, you had an object with ID "menu" and tried to use it as a property value.
This commit is contained in:
parent
097c7df326
commit
0afa62654d
3 changed files with 3 additions and 3 deletions
|
@ -164,7 +164,7 @@ a11y = Group(
|
|||
A11y,
|
||||
Sequence(
|
||||
Keyword("accessibility", True),
|
||||
OpenBlock().expected("`{`"),
|
||||
OpenBlock(),
|
||||
Until(a11y_prop, CloseBlock()),
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue