[net.lang.c] What's the parameter stack in the C

kah@hpfclq.UUCP (01/18/84)

What is the parameter stack in the C compiler for ?

I assume you are referring to the array paramstk[].  This array is used
to save information about the members of a structure, union, or enum
while the declaration is being parsed.  After the entire declaration is
parsed, the information is copied over to the 'dimtab' array.

The name 'paramstk' is misleading since it has nothing to do with "parameters".
When a function definition header is being parsed, information on formal
parameters is saved in an array called the 'argstk'.

These comments refer to the system III compiler.