[Gambas-bugtracker] Bug #2810: goto/gosub max label index, switch back to a short value from a byte value in label index

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Wed Oct 18 02:31:37 CEST 2023


http://gambaswiki.org/bugtracker/edit?object=BUG.2810&from=L21haW4-

Brian G reported a new bug.

Summary
-------

goto/gosub max label index, switch back to a short value from a byte value in label index

Type             : Request
Priority         : Medium
Gambas version   : Master
Product          : Language


Description
-----------

Would it be possible to switch back to a short rather than a byte for the goto/gosub table

I have run into some issue when porting very long old programs. such as full adventure.. lol

I have an xref program that changes referred line numbers to labels and does a fixup on gosub and goto statements. 
I am getting the too many label error sometimes.

Don't know if it's really difficult?


System information
------------------

master




More information about the Bugtracker mailing list