Some more work on syntax errors