comm3.c 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /* $Id$ */
  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, SYMD, 0, ".symd" },
  35. { 0, LINE, 0, ".line" },
  36. { 0, FILe, 0, ".file" },
  37. #ifdef LISTING
  38. { 0, LIST, 0, ".nolist" },
  39. { 0, LIST, 1, ".list" },
  40. #endif
  41. #include "mach3.c"
  42. { 0, 0, 0, 0 }
  43. };