2 * FML interpreter. Europagate, 1995
5 * Revision 1.1 1995/02/09 16:06:07 adam
6 * FML can be called from the outside multiple times by the functions:
7 * fml_exec_call and fml_exec_call_str.
8 * An interactive parameter (-i) to fmltest starts a shell-like
9 * interface to FML by using the fml_exec_call_str function.
18 static const char *str_ptr;
20 static int str_reader (void)
27 void fml_exec_call_str (Fml fml, const char *str)
29 int (*old_func)(void) = fml->read_func;
31 fml->read_func = str_reader;
33 eof_mark = fml->eof_mark;
35 fml->read_func = old_func;