add coverage tests for lexer.c
Merge pull request #4191 from WalterBright/linkercov

add coverage tests for lexer.c