cdjc / goto

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Having some issues with a goto-heavy program

BartMassey opened this issue · comments

I tried to use this module to port HAMURABI.BAS to Python 3 :-). It's not working so good.

AttributeError: 'function' object has no attribute 'line440'

but I have a label .line440 and some of the other gotos seem to work.

To be fair, the function in question contains 23 labels and 35 gotos :-).

See http://github.com/BartMassey/hamurabi for the code.

Thanks for writing this module, and for any help you can give!

commented

Well, I don't think my goto module has been tested with code that nasty before!
Thanks for finding the bug. I've fixed it now.