terrell@musky2.MUSKINGUM.EDU (Roger Terrell) (01/07/89)
{} Hi, I am trying to write a fairly simple parser with the Run-Time Library routine LIB$TPARSE. This allows the user to specify action routines in the transitions, but it calls them with the CALLG instruction, while VAX Pascal uses a CALLS instruction. Can anyone suggest a way around this incompatibility? I could write a routine in assembly that called the action routine with a CALLS instruction, but this is something of a kludge. Can anyone suggest a way of making Pascal use CALLG or of making LIB$TPARSE use CALLS? Any other suggestions would be appreciated. As always, Thanks In Advance. --Roger -- Roger Terrell ...musky2!terrell (UUCP) terrell@muskingum.edu (CSNet)
gjc@bu-cs.BU.EDU (George J. Carrette) (01/08/89)
There should be no difference between the use of CALLS vs. CALLG. They both create a valid vax call frame for the called procedure. There are obscure cases where it would matter when the called procedure is violating strict VAX call standards. That is more likely to happen with VAX-C however, not Pascal.