1
0
Fork 0
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:
Doug Schaefer 2006-08-31 15:05:12 +00:00
parent 890b02af45
commit b4c0cba081

View file

@ -2031,8 +2031,8 @@ abstract class BaseScanner implements IScanner {
return contentAssistMode ? eocToken : null; return contentAssistMode ? eocToken : null;
} }
static public CharTable ident = new CharTable(1024); protected CharTable ident = new CharTable(1024);
static public int idents = 0; protected int idents = 0;
protected IToken scanIdentifier() { protected IToken scanIdentifier() {
char[] buffer = bufferStack[bufferStackPos]; char[] buffer = bufferStack[bufferStackPos];