Rev 171 | Rev 192 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 171 | Rev 185 | ||
---|---|---|---|
Line 23... | Line 23... | ||
23 | #include <stdlib.h> |
23 | #include <stdlib.h> |
24 | 24 | ||
25 | #define NEW(P) ( (P) = malloc(sizeof(*(P))) ) |
25 | #define NEW(P) ( (P) = malloc(sizeof(*(P))) ) |
26 | 26 | ||
27 | /* if this type is floating point, then #define FP_VALUE */ |
27 | /* if this type is floating point, then #define FP_VALUE */ |
- | 28 | #ifdef FP_VALUE |
|
- | 29 | typedef double value_type; |
|
- | 30 | #else |
|
28 | typedef long value_type; |
31 | typedef long value_type; |
- | 32 | #endif |
|
29 | typedef value_type (*pfunc_type)(value_type,...); |
33 | typedef value_type (*pfunc_type)(value_type,...); |
30 | 34 | ||
31 | struct sym_rec{ |
35 | struct sym_rec{ |
32 | struct sym_rec *next; |
36 | struct sym_rec *next; |
33 | int token; |
37 | int token; |