ZoneCodeGenerator: Add Next and Peek queries for Tags and Matches

This commit is contained in:
Jan
2019-10-04 12:50:00 +02:00
parent f13eac7436
commit a1670305c7
25 changed files with 175 additions and 114 deletions

View File

@ -31,7 +31,7 @@ namespace ZoneCodeGenerator.Parsing.CommandFile.Tests
throw new TestFailedException($"Game has already been set with value '{state.Game}'");
}
state.Game = GetMatcherTokens(GameNameToken)[0];
state.Game = NextMatch(GameNameToken);
}
}
}