home *** CD-ROM | disk | FTP | other *** search
/ PD Collection CD 1 / PD Collection CD 1.iso / textual / tex / files / !tex / TeXsource / commontex / h / cond < prev    next >
Encoding:
Text File  |  1988-04-08  |  1005 b   |  50 lines

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