24 |
|
|
25 |
|
#include <errno.h> |
26 |
|
|
27 |
+ |
#include <math.h> |
28 |
+ |
|
29 |
|
#include "calcomp.h" |
30 |
|
|
31 |
|
#define MAXLINE 256 /* maximum line length */ |
37 |
|
#ifndef atof |
38 |
|
extern double atof(); |
39 |
|
#endif |
38 |
– |
extern double pow(); |
40 |
|
extern char *fgets(), *savestr(); |
41 |
|
extern char *emalloc(), *ecalloc(); |
42 |
|
extern EPNODE *curfunc; |
408 |
|
eputs(infile != NULL ? ", line " : "line "); |
409 |
|
eputs(ltoa((long)lineno)); |
410 |
|
} |
411 |
< |
eputs(": syntax error:\n"); |
411 |
> |
eputs(":\n"); |
412 |
|
} |
413 |
|
eputs(linbuf); |
414 |
|
if (linbuf[strlen(linbuf)-1] != '\n') |