title: SyntaxError: unexpected token 'print'
body: <p>The following code runs fine in IDLE [2.7.8 (default, Jun 30 2014, 16:03:49) [MSC v.1500 32 bit (Intel)]]:</p>
  
  <pre><code>x = 5
  if True:
     pass
     x=6
  else:
     x=7
  print x
  </code></pre>
  
  <p>But in IronPython ['2.7.3 (IronPython 2.7.3 (2.7.0.40) on .NET 4.0.30319.34014 (64-bit))], the last line gives a <code>SyntaxError: unexpected token 'print'</code></p>
  
  <p>I copied and pasted the same lines of text in both systems, so they should be the same, including any invisible characters.</p>
  
  <p>What could be the cause?</p>