proinf.h 775 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. /* $Header$ */
  6. struct num {
  7. num_p n_next;
  8. unsigned n_number;
  9. unsigned n_jumps;
  10. num_p n_repl;
  11. short n_flags;
  12. lblst_p n_lst_elt;
  13. line_p n_line;
  14. };
  15. /* contents of .n_flags */
  16. #define NUMDATA 000001
  17. #define NUMREACH 000002
  18. #define NUMKNOWN 000004
  19. #define NUMMARK 000010
  20. #define NUMSCAN 000020
  21. #define NUMSET 000040
  22. #define NUMCOND 000100
  23. #define NNUMHASH 37
  24. extern num_p numlookup();
  25. struct regs {
  26. reg_p r_next;
  27. offset r_par[4];
  28. };
  29. typedef struct proinf {
  30. offset localbytes;
  31. line_p lastline;
  32. sym_p symbol;
  33. reg_p freg;
  34. bool gtoproc;
  35. num_p numhash[NNUMHASH];
  36. } proinf;
  37. extern proinf curpro;