mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-05 16:09:07 -04:00
Remove some semicolons
Remove semicolons everywhere except 'using' statements, properties, attributes, and signals. This should be the last breaking change to the syntax.
This commit is contained in:
parent
878ff1b37b
commit
be3c0de670
18 changed files with 24 additions and 24 deletions
|
@ -65,7 +65,7 @@ item = Group(
|
|||
|
||||
items = Group(
|
||||
Items,
|
||||
Statement(
|
||||
Sequence(
|
||||
Keyword("items", True),
|
||||
OpenBracket(),
|
||||
Delimited(
|
||||
|
|
|
@ -49,7 +49,7 @@ class FilterString(AstNode):
|
|||
def create_node(tag_name: str, singular: str):
|
||||
return Group(
|
||||
Filters,
|
||||
Statement(
|
||||
Sequence(
|
||||
Keyword(tag_name, True),
|
||||
UseLiteral("tag_name", tag_name),
|
||||
OpenBracket(),
|
||||
|
|
|
@ -60,7 +60,7 @@ class Widget(AstNode):
|
|||
|
||||
widgets = Group(
|
||||
Widgets,
|
||||
Statement(
|
||||
Sequence(
|
||||
Keyword("widgets", True),
|
||||
OpenBracket(),
|
||||
Delimited(
|
||||
|
|
|
@ -61,7 +61,7 @@ item = Group(
|
|||
|
||||
strings = Group(
|
||||
Items,
|
||||
Statement(
|
||||
Sequence(
|
||||
Keyword("strings", True),
|
||||
OpenBracket(),
|
||||
Delimited(
|
||||
|
|
|
@ -46,7 +46,7 @@ class StyleClass(AstNode):
|
|||
|
||||
styles = Group(
|
||||
Styles,
|
||||
Statement(
|
||||
Sequence(
|
||||
Keyword("styles", True),
|
||||
OpenBracket(),
|
||||
Delimited(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue