Which phase of the compiler checks the syntax of the source code?

Explanation:

Syntax analysis (parsing) verifies the source code against grammar rules.

Explore more in Computer Science: