khval / AmosKittens

Amos interpreter under development, most commands are support, some extensions are supported.
MIT License
10 stars 3 forks source link

Bug in GOTO command. #46

Closed khval closed 2 years ago

khval commented 2 years ago

Describe the bug:

Bug in GOTO command.

Some code like this, does not work, gets a syntax error (at line 495, in AED 2.25 amos program.)

procedure FUNC a=2 If a=2 : GOTO 100 : End If 100 print "it works!!" End Proc

khval commented 2 years ago

Fixed bug, somehow number support was missing.