next up previous contents
Next: The Lexical Analyzer Up: Functions and Function Definitions Previous: Functions and Function Definitions

Implementation

The Xfnc field is a function pointer which contains the entry point of the compiled function. Since the arguments may vary in number, somehow the system must know this. The second field Xargno serves for this purpose.

    struct Xfpointer { char Xtype;
                       char Xargno;
                       int (*Xfnc)(); } ;

figure463



Gokturk UCOLUK
Fri Nov 1 21:52:13 EET 1996