Herby Vojčík пре 6 година
родитељ
комит
aabe66283c
1 измењених фајлова са 1 додато и 3 уклоњено
  1. 1 3
      support/parser.pegjs

+ 1 - 3
support/parser.pegjs

@@ -190,7 +190,7 @@ wsStatements =
 	} /
 	expressions:wsExpressions? {return expressions || [];}
 
-wsSequenceWs = ws temps:temps? statements:(ws js:jsSequence ws {return [js];} / st:wsStatements maybeDotsWs {return st;})? {
+wsSequenceWs = ws temps:temps? statements:(ws js:jsStatement ws {return [js];} / st:wsStatements maybeDotsWs {return st;})? {
 	return $globals.SequenceNode._new()
 		._location_(location())
 		._source_(text())
@@ -198,8 +198,6 @@ wsSequenceWs = ws temps:temps? statements:(ws js:jsSequence ws {return [js];} /
 		._dagChildren_(statements || []);
 }
 
-jsSequence = jsStatement
-
 block = '[' params:wsBlockParamList? sequence:wsSequenceWs ']' {
 	return $globals.BlockNode._new()
 		._location_(location())