home *** CD-ROM | disk | FTP | other *** search
/ Atari FTP / ATARI_FTP_0693.zip / ATARI_FTP_0693 / Tex / Tex29 / StTeXsrc.zoo / src / cond.h < prev    next >
Text File  |  1988-03-13  |  1KB  |  51 lines

  1.  
  2. /*
  3.  * @(#)cond.h 2.5 EPA
  4.  *
  5.  * Copyright 1987,1988 Pat J Monardo
  6.  *
  7.  * Redistribution of this file is permitted through
  8.  * the specifications in the file COPYING.
  9.  *
  10.  * 
  11.  */
  12.  
  13. global  ptr     cond_ptr;
  14. global  int     cur_if;
  15. global  int     if_limit;
  16. global  val     if_line;
  17.  
  18. #define IF_NODE_SIZE        2
  19. #define if_line_field(M)    mem[M + 1].i
  20.  
  21. #define IF_CODE             1
  22. #define FI_CODE             2
  23. #define ELSE_CODE           3
  24. #define OR_CODE             4
  25.  
  26. #define IF_CHAR_CODE        0
  27. #define IF_CAT_CODE         1
  28. #define IF_INT_CODE         2
  29. #define IF_DIM_CODE         3
  30. #define IF_ODD_CODE         4
  31. #define IF_VMODE_CODE       5
  32. #define IF_HMODE_CODE       6
  33. #define IF_MMODE_CODE       7
  34. #define IF_INNER_CODE       8
  35. #define IF_VOID_CODE        9
  36. #define IF_HBOX_CODE        10
  37. #define IF_VBOX_CODE        11
  38. #define IFX_CODE            12
  39. #define IF_EOF_CODE         13
  40. #define IF_TRUE_CODE        14
  41. #define IF_FALSE_CODE       15
  42. #define IF_CASE_CODE        16
  43.  
  44. int     push_cond();
  45. int     pop_cond();
  46. int     pass_text();
  47. int     change_if_limit();
  48. int     conditional();
  49.  
  50. global  long    skip_line;
  51.