Skip to content

Commit 5fedd4f

Browse files
authored
Merge pull request #11 from navtech-io/develop
Develop
2 parents 1447845 + 803b8b2 commit 5fedd4f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Simpleflow/CodeGenerator/SimpleflowErrorListener.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public override void SyntaxError(TextWriter output, IRecognizer recognizer, ITok
1717
string msg, RecognitionException e)
1818
{
1919

20-
if (recognizer.Atn.states[e.OffendingState].StateType == Antlr4.Runtime.Atn.StateType.BlockStart)
20+
if (e != null && recognizer.Atn.states[e.OffendingState].StateType == Antlr4.Runtime.Atn.StateType.BlockStart)
2121
{
2222
Errors.Add(new SyntaxError(recognizer, offendingSymbol, line, charPositionInLine, $"Unexpected token {offendingSymbol.Text}, a newline expected", e));
2323
}

src/Simpleflow/Simpleflow.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<TargetFrameworks>netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
55
<PackageIcon>PackageIcon.png</PackageIcon>
6-
<VersionPrefix>1.0.0</VersionPrefix>
6+
<VersionPrefix>1.0.1</VersionPrefix>
77
<VersionSuffix></VersionSuffix>
88
</PropertyGroup>
99

0 commit comments

Comments
 (0)