home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / historic / v941.tgz / icon.v941src.tar / icon.v941src / src / preproc / pproto.h < prev    next >
C/C++ Source or Header  |  2000-07-29  |  3KB  |  65 lines

  1. void            addrmlst     (char *fname, FILE *f);
  2. void            advance_tok  (struct token **tp);
  3. int                chk_eq_sign  (void);
  4. long               conditional  (struct token **tp, struct token *trigger);
  5. struct token      *copy_t       (struct token *t);
  6. void            err1         (char *s);
  7. void            err2         (char *s1, char *s2);
  8. void            errfl1       (char *f, int l, char *s);
  9. void            errfl2       (char *f, int l, char *s1, char *s2);
  10. void            errfl3       (char *f, int l, char *s1, char *s2, char *s3);
  11. void            errt1        (struct token *t, char *s);
  12. void            errt2        (struct token *t, char *s1, char *s2);
  13. void            errt3        (struct token *t, char *s1, char *s2, char *s3);
  14. int                eval         (struct token *trigger);
  15. void            fill_cbuf    (void);
  16. void            free_id_lst  (struct id_lst *ilst);
  17. void            free_plsts   (struct paste_lsts *plsts);
  18. void            free_m       (struct macro *m);
  19. void            free_m_lst   (struct macro *m);
  20. void            free_t       (struct token *t);
  21. void            free_t_lst   (struct tok_lst *tlst);
  22. struct str_buf    *get_sbuf     (void);
  23. void            include      (struct token *trigger, char *fname, int start);
  24. void    init_files    (char *opt_lst,char * *opt_args);
  25. void    init_files    (char *opt_lst,char * *opt_args);
  26. void            init_macro   (void);
  27. void            init_preproc (char *fname, char *opt_lst, char **opt_args);
  28. void            init_sys     (char *fname, int argc, char *argv[]);
  29. void            init_tok     (void);
  30. struct token      *interp_dir   (void);
  31. struct token      *mac_tok      (void);
  32. void            merge_whsp   (struct token **whsp, struct token **next_t,
  33.                                   struct token *(*t_src)(void));
  34. void            m_delete     (struct token *mname);
  35. void            m_install    (struct token *mname, int category,
  36.                                   int multi_line, struct id_lst *prmlst,
  37.                                   struct tok_lst *body);
  38. struct macro      *m_lookup     (struct token *mname);
  39. struct char_src   *new_cs       (char *fname, FILE *f, int bufsize);
  40. struct id_lst     *new_id_lst   (char *id);
  41. struct macro      *new_macro    (char *mname, int category,
  42.                                   int multi_line, struct id_lst *prmlst,
  43.                                   struct tok_lst *body);
  44. struct mac_expand *new_me       (struct macro *m, struct tok_lst **args,
  45.                                    struct tok_lst **exp_args);
  46. struct paste_lsts *new_plsts    (struct token *trigger,
  47.                                   struct tok_lst *tlst,
  48.                                   struct paste_lsts *plst);
  49. struct token      *new_token    (int id, char *image, char *fname,
  50.                                   int line);
  51. struct tok_lst    *new_t_lst    (struct token *tok);
  52. struct token      *next_tok     (void);
  53. void            nxt_non_wh   (struct token **tp);
  54. void            output       (FILE *out_file);
  55. struct token      *paste        (void);
  56. void            pop_src      (void);
  57. struct token      *preproc      (void);
  58. void            push_src     (int flag, union src_ref *ref);
  59. void            rel_sbuf     (struct str_buf *sbuf);
  60. int                rt_state     (int tok_id);
  61. void            show_usage   (void);
  62. void            source       (char *fname);
  63. void            str_src      (char *src_name, char *s, int len);
  64. struct token      *tokenize     (void);
  65.