mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-30 04:15:35 +02:00
Undo accidental check-in.
This commit is contained in:
parent
884e65041d
commit
7937a7b89e
1 changed files with 0 additions and 4 deletions
|
@ -172,7 +172,6 @@ public class CPreprocessor implements ILexerLog, IScanner, IAdaptable {
|
||||||
private int fContentAssistLimit= -1;
|
private int fContentAssistLimit= -1;
|
||||||
private boolean fHandledCompletion= false;
|
private boolean fHandledCompletion= false;
|
||||||
private boolean fSplitShiftRightOperator= false;
|
private boolean fSplitShiftRightOperator= false;
|
||||||
private int fTokenCount= 0;
|
|
||||||
|
|
||||||
// state information
|
// state information
|
||||||
private final CharArrayMap<PreprocessorMacro> fMacroDictionary = new CharArrayMap<PreprocessorMacro>(512);
|
private final CharArrayMap<PreprocessorMacro> fMacroDictionary = new CharArrayMap<PreprocessorMacro>(512);
|
||||||
|
@ -463,9 +462,6 @@ public class CPreprocessor implements ILexerLog, IScanner, IAdaptable {
|
||||||
if (t != null) {
|
if (t != null) {
|
||||||
fPrefetchedTokens= (Token) t.getNext();
|
fPrefetchedTokens= (Token) t.getNext();
|
||||||
t.setNext(null);
|
t.setNext(null);
|
||||||
if (++fTokenCount > 1000) {
|
|
||||||
throw new OffsetLimitReachedException(0, t);
|
|
||||||
}
|
|
||||||
return t;
|
return t;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue