Changed the interface of the skip method
Changed the reading/accumulation/flushing logic of the lexer