1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-04 06:45:43 +02:00

fix bug 92783: ArrayIndexOutOfBoundsException

This commit is contained in:
Andrew Niefer 2005-04-26 22:17:44 +00:00
parent 3fedd1b299
commit 56adc615f8

View file

@ -1176,7 +1176,10 @@ public class CPPVisitor {
} catch ( DOMException e ) {
return PROCESS_CONTINUE;
}
candidate = bs[ ++n ];
if( bs == null || bs.length == 0 )
candidate = null;
else
candidate = bs[ ++n ];
} else {
candidate = potential;
}