fixed Scanner: Correctly recocnize literal strings