Tracking down syntax errors