forked from jasder/antlr
No need to wrap IOException in C#
This commit is contained in:
parent
81efb247be
commit
8dbdc2b3c0
|
@ -238,15 +238,9 @@ namespace Antlr4.Runtime
|
|||
{
|
||||
return i;
|
||||
}
|
||||
try
|
||||
{
|
||||
int c = NextChar();
|
||||
Add(c);
|
||||
}
|
||||
catch (IOException ioe)
|
||||
{
|
||||
throw new RuntimeException(ioe);
|
||||
}
|
||||
|
||||
int c = NextChar();
|
||||
Add(c);
|
||||
}
|
||||
return n;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue