Skip to content

Commit 1eab1a8

Browse files
committed
fix minor issues of grammar
1 parent 1f21571 commit 1eab1a8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

csbuild/ecs_parser.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"Name": "ecs_parser",
44
"Info": "Extended CovScript(ECS Lang) Parser",
55
"Author": "Michael Lee",
6-
"Version": "1.2.7",
6+
"Version": "1.2.8",
77
"Target": "imports/ecs_parser.csp",
88
"Dependencies": [
99
"parsergen",

imports/ecs_parser.csp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Covariant Script Parser Generator: Grammar of Extended CovScript(ECS Lang) v1.2.7
1+
# Covariant Script Parser Generator: Grammar of Extended CovScript(ECS Lang) v1.2.8
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -318,7 +318,7 @@ var covscript_syntax = {
318318
{syntax.token("char")}
319319
)},
320320
"ecsx-extend" : {
321-
syntax.token("id"), syntax.term("::"), syntax.token("id"), syntax.term("("), syntax.optional(syntax.ref("basic-expr")), syntax.term(")")
321+
syntax.token("id"), syntax.nlook(syntax.token("endl")), syntax.term("::"), syntax.token("id"), syntax.term("("), syntax.optional(syntax.ref("basic-expr")), syntax.term(")")
322322
},
323323
"element" : {
324324
syntax.cond_or({syntax.token("id")}, {syntax.term("("), syntax.ref("basic-expr"), syntax.term(")")}),

0 commit comments

Comments
 (0)