home *** CD-ROM | disk | FTP | other *** search
/ Mega Top 1 / os2_top1.zip / os2_top1 / APPS / TEKST / CMTEX330 / SOURCE / TOKLIST.H < prev   
Text File  |  1992-02-19  |  751b  |  40 lines

  1.  
  2. /*
  3.  * %Y%:%M%:%I%:%Q%
  4.  *
  5.  * Copyright 1987,1988,1991 Pat J Monardo
  6.  *
  7.  * Redistribution of this file is permitted through
  8.  * the specifications in the file COPYING.
  9.  *
  10.  *
  11.  */
  12.  
  13. ptr    str_toks();
  14. ptr    the_toks();
  15. void    conv_toks();
  16.  
  17. #define NUMBER_CODE        0
  18. #define ROMAN_NUMERAL_CODE    1
  19. #define STRING_CODE        2
  20. #define MEANING_CODE        3
  21. #define FONT_NAME_CODE        4
  22. #define JOB_NAME_CODE        5
  23.  
  24. void    scan_toks();
  25. void    read_toks();
  26. void    show_token_list();
  27. void    token_show();
  28. void    print_meaning();
  29. void    flush_list();
  30.  
  31. #define token_ref_count(T)    token(T)
  32. #define add_token_ref(T)    incr(token_ref_count(T))
  33. #define delete_token_ref(T) \
  34.     {if (token_ref_count(T) == 0) \
  35.         flush_list(T); \
  36.     else decr(token_ref_count(T));}
  37.  
  38. void    _toklist_init();
  39. void    _toklist_init_once();
  40.