| 34 |
|
|
| 35 |
|
#define isdecimal(c) (isdigit(c) || (c) == '.') |
| 36 |
|
|
| 37 |
– |
#ifndef atof |
| 38 |
– |
extern double atof(); |
| 39 |
– |
#endif |
| 37 |
|
extern char *fgets(), *savestr(); |
| 38 |
|
extern char *emalloc(), *ecalloc(); |
| 39 |
|
extern EPNODE *curfunc; |
| 40 |
|
extern double efunc(), evariable(); |
| 41 |
< |
static double euminus(), echannel(), eargument(), enumber(); |
| 41 |
> |
static double euminus(), eargument(), enumber(); |
| 42 |
> |
#ifdef INCHAN |
| 43 |
> |
static double echannel(); |
| 44 |
> |
#endif |
| 45 |
|
static double eadd(), esubtr(), emult(), edivi(), epow(); |
| 46 |
|
static double ebotch(); |
| 47 |
|
|
| 149 |
|
break; |
| 150 |
|
|
| 151 |
|
default: |
| 152 |
< |
for (ep = epar->v.kid; ep != NULL; ep = ep->sibling) |
| 152 |
> |
while ((ep = epar->v.kid) != NULL) { |
| 153 |
> |
epar->v.kid = ep->sibling; |
| 154 |
|
epfree(ep); |
| 155 |
+ |
} |
| 156 |
|
break; |
| 157 |
|
|
| 158 |
|
} |