remove unused code in ErlideScanner