diff options
author | john haque <j.eh@mchsi.com> | 2011-10-11 07:16:35 -0500 |
---|---|---|
committer | john haque <j.eh@mchsi.com> | 2011-10-12 07:56:51 -0500 |
commit | 118622c2a66b302ec9706ccd3296a6cc2b8bfb13 (patch) | |
tree | 6f123ff34e69d41f61f38c7e497bda88b67f7fa7 /array.c | |
parent | 9d8d0cf6e83832f2d9902b23b8513402c648c59d (diff) | |
download | egawk-118622c2a66b302ec9706ccd3296a6cc2b8bfb13.tar.gz egawk-118622c2a66b302ec9706ccd3296a6cc2b8bfb13.tar.bz2 egawk-118622c2a66b302ec9706ccd3296a6cc2b8bfb13.zip |
Add GPL notice in symbol.c.
Diffstat (limited to 'array.c')
-rw-r--r-- | array.c | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -660,12 +660,14 @@ do_delete_loop(NODE *symbol, NODE **lhs) /* value_info --- print scalar node info */ -int PREC_NUM = -1; -int PREC_STR = -1; static void value_info(NODE *n) { + +#define PREC_NUM -1 +#define PREC_STR -1 + if (n == Nnull_string || n == Null_field) { fprintf(output_fp, "<(null)>"); return; @@ -693,6 +695,9 @@ value_info(NODE *n) fprintf(output_fp, "CONVFMT=\"%s\"", n->stfmt <= -1 ? "%ld" : fmt_list[n->stfmt]->stptr); } + +#undef PREC_NUM +#undef PREC_STR } |