bobbimanners / EightBall

The Eight Bit Algorithmic Language for Apple II, Commodore 64 and VIC20
GNU General Public License v3.0
19 stars 3 forks source link

Single line while loops compile incorrectly #41

Closed bobbimanners closed 6 years ago

bobbimanners commented 6 years ago

Single line while loops:

while 1; pr.msg "Hello"; endwhile

Do not compile correctly. The endwhile seems to be skipped.

Works okay in interpreter though. I should also check single-line forms of if/else/endif and for/endfor for the same defect.

bobbimanners commented 6 years ago

Unable to reproduce. Seems to work fine.