mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-08 08:45:44 +02:00
Bug 147999 - Make the identifier table in the BaseScanner new per scanner instance. Sharing between scanner instances has caused infinite loops when threads collide.
This commit is contained in:
parent
890b02af45
commit
b4c0cba081
1 changed files with 2 additions and 2 deletions
|
@ -2031,8 +2031,8 @@ abstract class BaseScanner implements IScanner {
|
|||
return contentAssistMode ? eocToken : null;
|
||||
}
|
||||
|
||||
static public CharTable ident = new CharTable(1024);
|
||||
static public int idents = 0;
|
||||
protected CharTable ident = new CharTable(1024);
|
||||
protected int idents = 0;
|
||||
|
||||
protected IToken scanIdentifier() {
|
||||
char[] buffer = bufferStack[bufferStackPos];
|
||||
|
|
Loading…
Add table
Reference in a new issue