level.h 900 B

1234567891011121314151617181920212223
  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$ */
  6. /* LEVEL DEFINITIONS */
  7. /* The level of the top-most stack_level is kept in a global variable
  8. with the obvious name 'level'. Although this variable is consulted
  9. by a variety of routines, it turns out that its actual value is of
  10. importance in only a very few files. Therefore the names of the
  11. values are put in a separate include-file.
  12. The L_PROTO level is a dummy level, which only occurs within
  13. prototype declarations. When the declaration is really declared
  14. the level is turned into L_FORMAL2.
  15. */
  16. #define L_PROTO (-1) /* prototype declaration */
  17. #define L_UNIVERSAL 0
  18. #define L_GLOBAL 1
  19. #define L_FORMAL1 2 /* formal declaration */
  20. #define L_FORMAL2 3 /* formal definition */
  21. #define L_LOCAL 4 /* and up */