Skip to content

Commit

Permalink
Fix compile
Browse files Browse the repository at this point in the history
  • Loading branch information
mpkorstanje committed Apr 13, 2024
1 parent 79b09fe commit 662a636
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dotnet/Gherkin/GherkinLine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,7 @@ public IEnumerable<GherkinLineSpan> GetTableCells()
cell = "";
startPos = pos;
} else if (c == GherkinLanguageConstants.TABLE_CELL_ESCAPE_CHAR) {
bool hasNext = rowEnum.MoveNext();
if(hasNext) {
if(rowEnum.MoveNext()) {
pos++;
c = rowEnum.Current;
if (c == GherkinLanguageConstants.TABLE_CELL_NEWLINE_ESCAPE) {
Expand Down

0 comments on commit 662a636

Please sign in to comment.