Fix PMD issue 1531- endless loop followed by OOM while parsing (PL)SQL
This commit is contained in:

committed by
Andreas Dangel

parent
575a5b6547
commit
4310b36344
@ -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;
|
||||
}
|
||||
}
|
||||
{
|
||||
|
Reference in New Issue
Block a user