title: Why am I getting errors on incorrect lines in Eclipse? What can I do about it?
body: <p>My script <strike>works</strike> seemed to be working perfectly well, but Eclipse 3.7.2 was telling me I had multiple errors on a random set of empty lines:</p>
  
  <p><img src="https://i.stack.imgur.com/IJuWb.png" alt="Screenshot of Eclipse&#39;s spurious error markers"></p>
  
  <p>When I deleted the lines, all the errors bunched up into one lump, like this:</p>
  
  <p><img src="https://i.stack.imgur.com/jbmdB.png" alt="All the errors bunched into one line"></p>
  
  <p>Here's the list it was giving me:</p>
  
  <p><img src="https://i.stack.imgur.com/rPUOM.png" alt="enter image description here"></p>
  
  <hr>
  
  <h2>EDIT</h2>
  
  <p>It turns out I did have an error in my code - I was using <code>=</code> to check for equality in an if statement. When I corrected this, ALL of the errors disappeared.</p>
  
  <p>Why did that mistake cause the effects above?</p>