mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
Fix 'template' keyword in list item factories
This commit is contained in:
parent
5a782c653b
commit
46e467bbfb
7 changed files with 30 additions and 13 deletions
|
@ -7,7 +7,7 @@ from .contexts import ScopeCtx
|
|||
|
||||
|
||||
class ExtListItemFactory(AstNode):
|
||||
grammar = [Keyword("template"), Optional(TypeName), ObjectContent]
|
||||
grammar = [UseExact("id", "template"), Optional(TypeName), ObjectContent]
|
||||
|
||||
@property
|
||||
def type_name(self) -> T.Optional[TypeName]:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue