1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 22:52:11 +02:00

73708 - [Scanner] OLRE doesn't exit scanner

This commit is contained in:
Andrew Niefer 2004-09-17 18:23:08 +00:00
parent 9e051b52c2
commit a6f4bef6ba

View file

@ -365,6 +365,9 @@ public class Scanner2 implements IScanner, IScannerData {
}
catch( Exception e )
{
if( e instanceof OffsetLimitReachedException )
throw (OffsetLimitReachedException) e;
exception = true;
errorHandle();
}
@ -396,6 +399,9 @@ public class Scanner2 implements IScanner, IScannerData {
}
catch( Exception e )
{
if( e instanceof OffsetLimitReachedException )
throw (OffsetLimitReachedException) e;
nextToken = null;
exception = true;
errorHandle();