diff --git a/contributors.txt b/contributors.txt index ee58ff694..1f6cc0328 100644 --- a/contributors.txt +++ b/contributors.txt @@ -240,4 +240,5 @@ YYYY/MM/DD, github id, Full name, email 2020/02/02, carocad, Camilo Roca, carocad@unal.edu.co 2020/02/10, julibert, Julián Bermúdez Ortega, julibert.dev@gmail.com 2020/02/21, StochasticTinkr, Daniel Pitts, github@coloraura.com -2020/03/17, XsongyangX, Song Yang, songyang1218@gmail.com \ No newline at end of file +2020/03/17, XsongyangX, Song Yang, songyang1218@gmail.com +2020/04/07, deniskyashif, Denis Kyashif, denis.kyashif@gmail.com \ No newline at end of file diff --git a/runtime/CSharp/runtime/CSharp/Antlr4.Runtime/AntlrInputStream.cs b/runtime/CSharp/runtime/CSharp/Antlr4.Runtime/AntlrInputStream.cs index a35dc3452..023dd671e 100644 --- a/runtime/CSharp/runtime/CSharp/Antlr4.Runtime/AntlrInputStream.cs +++ b/runtime/CSharp/runtime/CSharp/Antlr4.Runtime/AntlrInputStream.cs @@ -48,8 +48,7 @@ namespace Antlr4.Runtime System.Diagnostics.Debug.Assert(LA(1) == IntStreamConstants.EOF); throw new InvalidOperationException("cannot consume EOF"); } - //System.out.println("prev p="+p+", c="+(char)data[p]); - if (p < n) + else { p++; }