3 ms·
If the code does not match the grammar for the language, that is redundancy in the grammar. The compiler can (and does, for error messages and error recovery)
by WalterBright 5y ago
If the code does not match the grammar for the language, that is redundancy in the grammar.
The compiler can (and does, for error messages and error recovery) guess at what was meant, but it cannot know what was meant.