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:
parent
9e051b52c2
commit
a6f4bef6ba
1 changed files with 6 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue