While I have never worked in Easy C my best guess would be that it needs some sort of end while statement. While it doesn't seem likely cause C doesn't have a end while command I know it is in other languages so it's worth a shot.

Good luck getting that working.