Fix bindings with no flags

This commit is contained in:
James Westman 2021-11-24 14:12:37 -06:00
parent 2a18273c80
commit 3f55aae7de
No known key found for this signature in database
GPG key ID: CE2DBA0ADB654EA6
3 changed files with 6 additions and 3 deletions

View file

@ -74,10 +74,10 @@ def parse(tokens) -> T.Tuple[ast.UI, T.Optional[MultipleErrors]]:
UseIdent("bind_source").expected("the ID of a source object to bind from"),
Op("."),
UseIdent("bind_property").expected("a property name to bind from"),
AnyOf(
ZeroOrMore(AnyOf(
Sequence(Keyword("sync-create"), UseLiteral("sync_create", True)),
Sequence(Keyword("after"), UseLiteral("after", True)),
),
)),
)
)