sharwell/antlr4cs — pull request #3 by fraschfn (2014-06-12 09:34:09+00:00)
Title: Update CommonTokenStream.cs

Using the `CommonTokenStream` with a non-default channel for parsing results in an endless loop since `Consume` (which calls `AdjustSeekIndex` at the end) sets the token index to the start after the last consumed token on the desired channel.

Also see http://stackoverflow.com/questions/24178375/parsing-a-non-default-channel-results-in-an-endless-loop