make lexicon and symboltable part of the scanner