Add comments to lex function.

Signed-off-by: Eric Taucher <Researcher0x00@gmail.com>