MagicPython icon indicating copy to clipboard operation
MagicPython copied to clipboard

Atom Hydrogen error "unexpected EOF while parsing" for python `if` statement!?

Open bridgesra opened this issue 6 years ago • 0 comments
trafficstars

Seems to be a problem w/ how Atom interprets the code. For loops it will give me the option to "fold" or "collapse" by clicking the carrot in the line number. Yet, if loops have no such luck.

  • Editor name and version: Atom 1.35.1

  • Platform: Mac OS Sierra 10.12.6

  • Color scheme: One Dark/Solarized Dark

  • MagicPython version: 0.4.15

  • A sreenshot: image

  • 5-10 lines of surrounding code:

## this works: 
for i in range(10): 
	print( i)

## this doesn't: 
if not False: 
	print("test worked")

bridgesra avatar Apr 09 '19 20:04 bridgesra