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:
parent
64f93294af
commit
01798aba6b
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue