title: ERROR: "Syntax error on token ";", , expected" Why?
body: <p>I am going crazy now. Googled this, thought some kind of IDE bug. Maybe I am blind and can not see something...but this was OK just an hour ago. I commented out all of the code and still it won't compile.</p>
  
  <pre><code>public class CityExplorerPoi extends Activity {
  
  private POI displayedPOI = null;
  private MediaPlayer mPlayer;
  enum audioState {
      Idle,               //Idle, not initialized
      Initialized,        //Initialized, not prepared
      Prepared,           //Prepared
      Started,            //Playing
      Stopped,            //needs preparing
      Paused,             //can be Started or Stopped
      Preparing,          //...
      End,                //Released, useless
      Error,              //...
      PlaybackCompleted   //can be Started from beginning or Stopped
  };
  audioState aState; &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;ERROR
  
  mPlayer = new MediaPlayer();
  }
  </code></pre>
  
  <p>This code has a compilier error on line marked with ERROR saying <strong>Syntax error on token ";", , expected</strong></p>
  
  <p>With enum declaration I tried to go without ; after }. Tried to put ; after the last entry (PlaybackCompleted) and still nothing???</p>
  
  <p>Any ideas? What am I missing :(</p>