Added a readScope function to the lexer. (Not needed yet).