Which type of errors are detected during lexical analysis?

Explanation:

Lexical analysis detects invalid tokens such as misspelled keywords.