×

Method and apparatus for an automatic check of whether or not calling parameters correspond to called parameters during linkage operation

  • US 4,992,971 A
  • Filed: 05/10/1988
  • Issued: 02/12/1991
  • Est. Priority Date: 05/11/1987
  • Status: Expired due to Term
First Claim
Patent Images

1. A method for use in a language translating and linking system including a language translator for translating a plurality of source programs into object programs, respectively, a memorizing unit for storing said object programs as memorized object programs, and a linker for linking said memorized object programs to a load program, one of said source programs including a calling program while another of said source programs including a called program, said calling program passing control to said called program, said calling program having a first number of calling parameters, said called program having a second number of called parameters, each of said calling parameters having calling attribute which represents a data item containing information descriptive of each of said calling parameters, each of said called parameters having a called attribute which represents a data item containing information descriptive of each of said called parameters, said method comprising the steps of:

  • extracting, in said language translator, said first number and said calling attributes from said calling program to generate first parameter information representing said first number and said calling attributes;

    extracting, in said language translator, said second number and said called attributes from said called program to generate second parameter information representing said second number and said called attributes;

    storing said first and said second parameter information in said memorizing unit as first and second output parameter information; and

    comparing, in said linker, said first output parameter information with said second output parameter information to check whether or not said calling parameters correspond to said called parameters, respectively.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×