MEGA65 / open-roms

A project to create unencumbered open-source ROMs for use on selected retro computers
Other
263 stars 18 forks source link

BASIC main execution loop ignores rest of line after executing a single token #14

Closed gardners closed 5 years ago

gardners commented 5 years ago

The basic main execution loop jumps to a statement's implementation, which then just jump to the main BASIC loop.

They should instead jump to a basic_next_statement routine, that checks if the input has been consumed, and continues if there is still input.

It should also give SYNTAX ERROR if the next token is not a :, since that means there is cruft hanging around after the last statement.

gardners commented 5 years ago

Fixed.