comm3.c 987 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /* $Header$ */
  2. /*
  3. * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
  4. * See the copyright notice in the ACK home directory, in the file "Copyright".
  5. */
  6. /* @(#)comm3.c 1.1 */
  7. /*
  8. * storage allocation for variables
  9. */
  10. #include "comm0.h"
  11. #define extern /* empty, to force storage allocation */
  12. #include "comm1.h"
  13. #undef extern
  14. struct outhead outhead = {
  15. O_MAGIC, O_STAMP, 0
  16. };
  17. #include "y.tab.h"
  18. item_t keytab[] = {
  19. 0, EXTERN, 0, ".define",
  20. 0, EXTERN, 0, ".extern",
  21. 0, DOT, 0, ".",
  22. 0, DATA, 1, ".data1",
  23. 0, DATA, 2, ".data2",
  24. 0, DATA, 4, ".data4",
  25. 0, ASCII, 0, ".ascii",
  26. 0, ASCII, 1, ".asciz",
  27. 0, ALIGN, 0, ".align",
  28. 0, ASSERT, 0, ".assert",
  29. 0, SPACE, 0, ".space",
  30. 0, COMMON, 0, ".comm",
  31. 0, SECTION, 0, ".sect",
  32. 0, BASE, 0, ".base",
  33. 0, SYMB, 0, ".symb",
  34. 0, LINE, 0, ".line",
  35. 0, FILe, 0, ".file",
  36. #ifdef LISTING
  37. 0, LIST, 0, ".nolist",
  38. 0, LIST, 1, ".list",
  39. #endif
  40. #include "mach3.c"
  41. 0, 0, 0, 0
  42. };