diff --git a/simulator/src/languages/grammars/base.ohm b/simulator/src/languages/grammars/base.ohm index 513d5e41f..b55f4e7ba 100644 --- a/simulator/src/languages/grammars/base.ohm +++ b/simulator/src/languages/grammars/base.ohm @@ -69,7 +69,7 @@ Base { commentEnd = "*/" comment = commentStart (~commentEnd any)* commentEnd lineCommentStart = "//" - lineComment = lineCommentStart (~"\n" any)* "\n" + lineComment = lineCommentStart (~"\n" any)* List = NonemptyListOf sep? EmptyList = EmptyList sep? diff --git a/simulator/src/languages/grammars/base.ohm.js b/simulator/src/languages/grammars/base.ohm.js index 4df9c077c..8bf21ada9 100644 --- a/simulator/src/languages/grammars/base.ohm.js +++ b/simulator/src/languages/grammars/base.ohm.js @@ -70,7 +70,7 @@ Base { commentEnd = "*/" comment = commentStart (~commentEnd any)* commentEnd lineCommentStart = "//" - lineComment = lineCommentStart (~"\\n" any)* "\\n" + lineComment = lineCommentStart (~"\\n" any)* List = NonemptyListOf sep? EmptyList = EmptyList sep?