// LexGen generates C++ source files by copying a program template but // with appropriate substitutions. The Copier class aids this // procedure. class Copier { FsaTable *table; FILE *fd, *out; void copy(); public: static char *currentfile; static int position; Copier(FsaTable *t, char *inf, char *outf); };