Skip to content

Commit 5535384

Browse files
author
oponkork
committed
Fixed minor issue
1 parent 990a668 commit 5535384

File tree

3 files changed

+31677
-35792
lines changed

3 files changed

+31677
-35792
lines changed

grammar.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1110,7 +1110,7 @@ function blockStructureEnding ($, structType) {
11101110
caseInsensitive('end'+structType,aliasAsWord=false)),
11111111
'end'+structType),
11121112
optional($.identifier),
1113-
optional($._end_of_statement)))
1114-
//
1113+
$._end_of_statement
1114+
))
11151115
return obj
11161116
}

src/grammar.json

+10-50
Original file line numberDiff line numberDiff line change
@@ -148,16 +148,8 @@
148148
]
149149
},
150150
{
151-
"type": "CHOICE",
152-
"members": [
153-
{
154-
"type": "SYMBOL",
155-
"name": "_end_of_statement"
156-
},
157-
{
158-
"type": "BLANK"
159-
}
160-
]
151+
"type": "SYMBOL",
152+
"name": "_end_of_statement"
161153
}
162154
]
163155
}
@@ -266,16 +258,8 @@
266258
]
267259
},
268260
{
269-
"type": "CHOICE",
270-
"members": [
271-
{
272-
"type": "SYMBOL",
273-
"name": "_end_of_statement"
274-
},
275-
{
276-
"type": "BLANK"
277-
}
278-
]
261+
"type": "SYMBOL",
262+
"name": "_end_of_statement"
279263
}
280264
]
281265
}
@@ -603,16 +587,8 @@
603587
]
604588
},
605589
{
606-
"type": "CHOICE",
607-
"members": [
608-
{
609-
"type": "SYMBOL",
610-
"name": "_end_of_statement"
611-
},
612-
{
613-
"type": "BLANK"
614-
}
615-
]
590+
"type": "SYMBOL",
591+
"name": "_end_of_statement"
616592
}
617593
]
618594
}
@@ -913,16 +889,8 @@
913889
]
914890
},
915891
{
916-
"type": "CHOICE",
917-
"members": [
918-
{
919-
"type": "SYMBOL",
920-
"name": "_end_of_statement"
921-
},
922-
{
923-
"type": "BLANK"
924-
}
925-
]
892+
"type": "SYMBOL",
893+
"name": "_end_of_statement"
926894
}
927895
]
928896
}
@@ -1830,16 +1798,8 @@
18301798
]
18311799
},
18321800
{
1833-
"type": "CHOICE",
1834-
"members": [
1835-
{
1836-
"type": "SYMBOL",
1837-
"name": "_end_of_statement"
1838-
},
1839-
{
1840-
"type": "BLANK"
1841-
}
1842-
]
1801+
"type": "SYMBOL",
1802+
"name": "_end_of_statement"
18431803
}
18441804
]
18451805
}

0 commit comments

Comments
 (0)