diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2012-12-19 17:00:26 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2012-12-19 17:00:26 +0200 |
commit | ed17f7f9d71310c6418ba10a81bb35792f46cb08 (patch) | |
tree | 5b94aeebe6fe18634e09f1b90225b7b8172b67ce /awk.h | |
parent | 45eced1c2512d48a392c7b9f761137d7601fa5b8 (diff) | |
download | egawk-ed17f7f9d71310c6418ba10a81bb35792f46cb08.tar.gz egawk-ed17f7f9d71310c6418ba10a81bb35792f46cb08.tar.bz2 egawk-ed17f7f9d71310c6418ba10a81bb35792f46cb08.zip |
Restore building with tcc.
Diffstat (limited to 'awk.h')
-rw-r--r-- | awk.h | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -508,21 +508,29 @@ typedef struct exp_node { #define parent_array sub.nodep.x.extra #define ainit array_funcs[0] +#define ainit_ind 0 #define atypeof array_funcs[1] +#define atypeof_ind 1 #define alength array_funcs[2] +#define alength_ind 2 #define alookup array_funcs[3] +#define alookup_ind 3 #define aexists array_funcs[4] +#define aexists_ind 4 #define aclear array_funcs[5] +#define aclear_ind 5 #define aremove array_funcs[6] +#define aremove_ind 6 #define alist array_funcs[7] +#define alist_ind 7 #define acopy array_funcs[8] +#define acopy_ind 8 #define adump array_funcs[9] +#define adump_ind 9 #define astore array_funcs[10] +#define astore_ind 10 #define NUM_AFUNCS 11 /* # of entries in array_funcs */ -/* array func to index mapping */ -#define AFUNC(F) (& ((NODE *) 0)->F - ((NODE *) 0)->array_funcs) - /* Node_array_ref: */ #define orig_array lnode #define prev_array rnode |