Pristine Ack-5.5
[Ack-5.5.git] / lang / cem / cemcom.ansi / level.h
1 /*
2  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
3  * See the copyright notice in the ACK home directory, in the file "Copyright".
4  */
5 /* $Id: level.h,v 1.2 1994/06/27 08:01:27 ceriel Exp $ */
6 /*  LEVEL DEFINITIONS */
7
8 /*      The level of the top-most stack_level is kept in a global variable
9         with the obvious name 'level'. Although this variable is consulted
10         by a variety of routines, it turns out that its actual value is of
11         importance in only a very few files. Therefore the names of the
12         values are put in a separate include-file.
13         The L_PROTO level is a dummy level, which only occurs within
14         prototype declarations. When the declaration is really declared
15         the level is turned into L_FORMAL2.
16 */
17
18 #define L_PROTO         (-1)            /* prototype declaration */
19 #define L_UNIVERSAL     0
20 #define L_GLOBAL        1
21 #define L_FORMAL1       2               /* formal declaration */
22 #define L_FORMAL2       3               /* formal definition */
23 #define L_LOCAL         4               /* and up */