Update lexer.go

Just simplify some code for lexer
Merge pull request #3 from kedebug/patch-1

Update lexer.go