Move parameter grammar checks to the grammar pass.