lexer: remove code duplication.
Readme.md: fix enumeration.