Fix PMD issue 1531- endless loop followed by OOM while parsing (PL)SQL

This commit is contained in:
Frits Jalvingh
2016-10-18 17:41:08 +02:00
committed by Andreas Dangel
parent 575a5b6547
commit 4310b36344

View File

@ -917,6 +917,8 @@ void Skip2NextTerminator(String initiator,String terminator) :
t = getToken(1);
if(t.image.equals(initiator)) count++;
if(t.image.equals(terminator)) count--;
if(null != t.specialToken || t.kind == EOF)
return;
}
}
{