mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Cosmetics
This commit is contained in:
parent
e5141ca636
commit
6bf3a22858
3 changed files with 9 additions and 9 deletions
|
@ -419,7 +419,7 @@ public interface IIndex {
|
||||||
* Returns an IIndexBinding for this IIndex that is equivalent to the specified binding,
|
* Returns an IIndexBinding for this IIndex that is equivalent to the specified binding,
|
||||||
* or null if such a binding does not exist in this index. This is useful for adapting
|
* or null if such a binding does not exist in this index. This is useful for adapting
|
||||||
* bindings obtained from IIndex objects that might have been created for a different scope
|
* bindings obtained from IIndex objects that might have been created for a different scope
|
||||||
* or for IBinding objects obtained direct from the AST.
|
* or for IBinding objects obtained directly from the AST.
|
||||||
* @param binding
|
* @param binding
|
||||||
* @return an IIndexBinding for this IIndex that is equivalent to the specified binding
|
* @return an IIndexBinding for this IIndex that is equivalent to the specified binding
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -162,5 +162,4 @@ public class CharArrayObjectMap <T> extends CharTable {
|
||||||
System.arraycopy(valueTable, 0, values, 0, values.length);
|
System.arraycopy(valueTable, 0, values, 0, values.length);
|
||||||
return values;
|
return values;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -52,7 +52,7 @@ final class ScannerContext {
|
||||||
private final ScannerContext fParent;
|
private final ScannerContext fParent;
|
||||||
private final Lexer fLexer;
|
private final Lexer fLexer;
|
||||||
private Token fTokens;
|
private Token fTokens;
|
||||||
private ArrayList<Conditional> fConditionals= null;
|
private ArrayList<Conditional> fConditionals;
|
||||||
private CodeState fCurrentState= CodeState.eActive;
|
private CodeState fCurrentState= CodeState.eActive;
|
||||||
private IncludeSearchPathElement fFoundOnPath;
|
private IncludeSearchPathElement fFoundOnPath;
|
||||||
private String fFoundViaDirective;
|
private String fFoundViaDirective;
|
||||||
|
@ -61,7 +61,6 @@ final class ScannerContext {
|
||||||
private boolean fPragmaOnce;
|
private boolean fPragmaOnce;
|
||||||
private int fLoadedVersionCount;
|
private int fLoadedVersionCount;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param ctx
|
* @param ctx
|
||||||
* @param parent context to be used after this context is done.
|
* @param parent context to be used after this context is done.
|
||||||
|
@ -425,6 +424,7 @@ final class ScannerContext {
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean visitUndefined(char[] macro) {
|
public boolean visitUndefined(char[] macro) {
|
||||||
if (!fInternalModifications.containsKey(macro)) {
|
if (!fInternalModifications.containsKey(macro)) {
|
||||||
|
@ -432,6 +432,7 @@ final class ScannerContext {
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean visitDefined(char[] macro) {
|
public boolean visitDefined(char[] macro) {
|
||||||
if (!fInternalModifications.containsKey(macro)) {
|
if (!fInternalModifications.containsKey(macro)) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue