T
Thomas Mercer-Hursh
Guest
Currently, procedure references in xref (both kinds) are placed in the output in sequence with the end of that procedure rather than at the line where the procedure actually begins. The line number referenced is the line number of the end. My understanding is that this is because they need to collect information on parameters, so the full information is not necessarily known until the end, but it seems counter-intuitive to me that all references within a procedure will appear in front of the procedure which contains them. As there is no reference to the beginning, there is no obvious way to reconstruct what is inside the procedure. It seems to me that all that is necessary is to stack the references until the end and then spit them out in the right order. It would be particularly useful if an end procedure reference was added as well.
Continue reading...
Continue reading...