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;
|
return i;
|
||||||
}
|
}
|
||||||
try
|
|
||||||
{
|
int c = NextChar();
|
||||||
int c = NextChar();
|
Add(c);
|
||||||
Add(c);
|
|
||||||
}
|
|
||||||
catch (IOException ioe)
|
|
||||||
{
|
|
||||||
throw new RuntimeException(ioe);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
return n;
|
return n;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue