replace.h 1.0 KB

1234567891011121314151617181920212223242526272829
  1. /*
  2. * The Amsterdam Compiler Kit
  3. * See the copyright notice in the ACK home directory, in the file "Copyright".
  4. */
  5. #ifndef LANG_CEM_CEMCOM_ANSI_REPLACE_H
  6. #define LANG_CEM_CEMCOM_ANSI_REPLACE_H
  7. struct args;
  8. struct repl;
  9. /* lang/cem/cemcom.ansi/replace.c */
  10. int replace(register struct idf *idf);
  11. int unstackrepl(void);
  12. int freeargs(struct args *args);
  13. int EnableMacros(void);
  14. int expand_macro(register struct repl *repl, register struct idf *idf);
  15. int expand_defined(register struct repl *repl);
  16. int newarg(struct args *args);
  17. int getactuals(struct repl *repl, register struct idf *idf);
  18. int saveraw(struct repl *repl);
  19. int actual(struct repl *repl);
  20. int macro_func(register struct idf *idef);
  21. int macro2buffer(register struct repl *repl, register struct idf *idf, register struct args *args);
  22. char *stringify(register struct repl *repl, register char *ptr, register struct args *args);
  23. int add2repl(register struct repl *repl, int ch);
  24. int stash(struct repl *repl, register int ch, int stashraw);
  25. #endif /* LANG_CEM_CEMCOM_ANSI_REPLACE_H */