| 34 |
|
|
| 35 |
|
extern char *ecalloc(), *savestr(); |
| 36 |
|
|
| 37 |
< |
extern double dvalue(); |
| 37 |
> |
static double dvalue(); |
| 38 |
|
|
| 39 |
|
long eclock = -1; /* value storage timer */ |
| 40 |
|
|
| 68 |
|
eputs(": cannot open\n"); |
| 69 |
|
quit(1); |
| 70 |
|
} |
| 71 |
< |
initfile(fname, fp); |
| 71 |
> |
initfile(fp, fname, 0); |
| 72 |
|
while (nextc != EOF) |
| 73 |
|
loaddefn(); |
| 74 |
|
if (fname != NULL) |
| 76 |
|
} |
| 77 |
|
|
| 78 |
|
|
| 79 |
< |
scompile(file, str) /* get definitions from a string */ |
| 80 |
< |
char *file; |
| 79 |
> |
scompile(str, fn, ln) /* get definitions from a string */ |
| 80 |
|
char *str; |
| 81 |
+ |
char *fn; |
| 82 |
+ |
int ln; |
| 83 |
|
{ |
| 84 |
< |
initstr(file, str); |
| 84 |
> |
initstr(str, fn, ln); |
| 85 |
|
while (nextc != EOF) |
| 86 |
|
loaddefn(); |
| 87 |
|
} |