mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
fix: replace non-existing bind flag with existing one
Replace non-existing `after` binding flag with `invert-boolean` flag. Use `inverted` name for convenience.
This commit is contained in:
parent
cc8a555f97
commit
e4283ed0c1
3 changed files with 5 additions and 5 deletions
|
@ -76,7 +76,7 @@ def parse(tokens) -> T.Tuple[ast.UI, T.Optional[MultipleErrors]]:
|
|||
UseIdent("bind_property").expected("a property name to bind from"),
|
||||
ZeroOrMore(AnyOf(
|
||||
Sequence(Keyword("sync-create"), UseLiteral("sync_create", True)),
|
||||
Sequence(Keyword("after"), UseLiteral("after", True)),
|
||||
Sequence(Keyword("inverted"), UseLiteral("invert-boolean", True)),
|
||||
Sequence(Keyword("bidirectional"), UseLiteral("bidirectional", True)),
|
||||
)),
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue