1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-14 12:35:22 +02:00

Fixed bug 71656 - [Parser] Infinite Loop on Out of Memory Exception

This commit is contained in:
John Camelon 2004-08-10 17:42:27 +00:00
parent 7957704e87
commit e3185c99dc

View file

@ -217,6 +217,10 @@ public abstract class Parser extends ExpressionParser implements IParser
break; break;
} }
} }
catch( OutOfMemoryError oome )
{
logThrowable( "translationUnit", oome ); //$NON-NLS-1$
}
catch( Exception e ) catch( Exception e )
{ {
logException( "translationUnit", e ); //$NON-NLS-1$ logException( "translationUnit", e ); //$NON-NLS-1$