1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-25 09:55:29 +02:00

oops. fix ArrayOutOfBoundsException

This commit is contained in:
Andrew Niefer 2004-08-13 14:41:26 +00:00
parent 64f93294af
commit 01798aba6b

View file

@ -1132,6 +1132,7 @@ public class Scanner2 implements IScanner, IScannerData {
if( ++branchStackPos == branches.length ){
int [] temp = new int [ branches.length << 1 ];
System.arraycopy( branches, 0, temp, 0, branches.length );
branches = temp;
}
branches[branchStackPos] = BRANCH_IF;
return true;