A me non sembra che ci siano errori sintattici, chi è che ti segnala l'errore?