source.h 388 B

12345678910111213141516171819202122
  1. #ifndef source_h
  2. #define source_h
  3. typedef int Lineno;
  4. String cursource;
  5. Lineno curline;
  6. Lineno cursrcline;
  7. #define LASTLINE 0 /* recognized by printlines */
  8. #include "lists.h"
  9. List sourcepath;
  10. printlines(/* l1, l2 */);
  11. String findsource(/* filename */);
  12. File opensource(/* filename */);
  13. setsource(/* filename */);
  14. getsrcpos(/* */);
  15. printsrcpos(/* */);
  16. edit(/* filename */);
  17. #endif