Updated mapping for EmptyStackException
This commit is contained in:
parent
9f329cb290
commit
9c3ec592b6
|
@ -268,7 +268,7 @@ outer_break: ;
|
|||
{
|
||||
if (_modeStack.IsEmpty())
|
||||
{
|
||||
throw new EmptyStackException();
|
||||
throw new InvalidOperationException();
|
||||
}
|
||||
Mode(_modeStack.Pop());
|
||||
return _mode;
|
||||
|
|
|
@ -186,6 +186,7 @@
|
|||
-typeMapping org.antlr.v4.runtime.misc.ParseCancellationException ParseCanceledException
|
||||
-typeMapping java.util.concurrent.CancellationException System.OperationCanceledException
|
||||
-typeMapping java.lang.IndexOutOfBoundsException ArgumentOutOfRangeException
|
||||
-typeMapping java.util.EmptyStackException InvalidOperationException
|
||||
|
||||
-typeMapping org.antlr.v4.runtime.misc.Tuple System.Tuple
|
||||
-typeMapping org.antlr.v4.runtime.misc.Tuple2<,> System.Tuple
|
||||
|
|
Loading…
Reference in New Issue