// private final PHPOpenAllIncludesEditorAction fOpenAllIncludesAction;
private IProject fProject;
private IFileEditorInput fEditorInput;
- HashSet fSet;
+ private HashSet fSet;
public IncludesScanner(IProject project, IFileEditorInput editorInput) {
fProject = project;
// fOpenAllIncludesAction = action;
try {
if (fileToParse.exists()) {
- addInputStream(new BufferedInputStream(fileToParse.getContents()), fileToParse.getFullPath().toString());
+ addInputStream(new BufferedInputStream(fileToParse.getContents()), fileToParse.getProjectRelativePath().toString());
}
} catch (CoreException e1) {
e1.printStackTrace();
String identifier;
int counter = 0;
- Scanner scanner = new Scanner(false, false, false, false, true, null, null);
+ Scanner scanner = new Scanner(false, false, false, false, true, null, null, true /*taskCaseSensitive*/);
scanner.setSource(charArray);
scanner.setPHPMode(false);
int token = getNextToken(scanner);