stardot / beebasm

A portable 6502 assembler with BBC Micro style syntax
http://www.retrosoftware.co.uk/wiki/index.php/BeebAsm
GNU General Public License v3.0
83 stars 26 forks source link

NEXT on final line of file may be ignored #96

Open mungre opened 8 months ago

mungre commented 8 months ago

For example:

FOR i, 1, 10
    NOP
NEXT

If the NEXT appears at the very end of the file (i.e. it is not followed by a carriage return or line feed) then beebasm produces a FOR without NEXT error.