(self, ins)
return struct.unpack('<H', token)[0]
Parses a line number pointer as in GOTO, GOSUB, LIST, RENUM, EDIT, etc.
Parses a line number pointer as in GOTO, GOSUB, LIST, RENUM, EDIT, etc.
Parses a line number pointer as in GOTO GOSUB LIST RENUM EDIT etc .
def _parse_jumpnum(self, ins):
        """Parses a line number pointer as in GOTO, GOSUB, LIST, RENUM, EDIT, etc."""
        ins.require_read((tk.T_UINT,))
        token = ins.read(2)
        assert len(token) == 2, 'Bytecode truncated in line number pointer'
        return struct.unpack('<H', token)[0]
def _parse_jumpnum ( self , ins ) : ins . require_read ( ( tk . T_UINT , ) ) token = ins . read ( 2 ) assert len ( token ) == 2 , 'Bytecode truncated in line number pointer' return struct . unpack ( '<H' , token ) [ 0 ]