diff --git a/blueprintcompiler/language/gtk_menu.py b/blueprintcompiler/language/gtk_menu.py index 83b5e63..7569d67 100644 --- a/blueprintcompiler/language/gtk_menu.py +++ b/blueprintcompiler/language/gtk_menu.py @@ -172,10 +172,7 @@ menu: Group = Group( Match("{"), Until( AnyOf( - menu_section, - menu_submenu, - menu_item_shorthand, - menu_item, + menu_child, Fail( menu_attribute, "Attributes are not permitted at the top level of a menu",