diff options
-rw-r--r-- | ChangeLog | 10 | ||||
-rw-r--r-- | awk.h | 2 |
2 files changed, 9 insertions, 3 deletions
@@ -1,7 +1,13 @@ +2016-05-26 Arnold D. Robbins <arnold@skeeve.com> + + * awk.h [fatal]: Make parentheses and use of indirection + consistent with warning and lintwarn. Thanks to Andrew Schorr + for pointing this out. + 2016-05-26 Andrew J. Schorr <aschorr@telemetry-investments.com> - * awk.h (get_actual_argument): Add an initial argument containing the - (NODE *) previously returned by get_argument. This allows us to + * awk.h (get_actual_argument): Add an initial argument containing + the (NODE *) previously returned by get_argument. This allows us to eliminate a call to get_argument from inside get_actual_argument. (get_scalar_argument, get_array_argument): Change macro definition to add an initial node argument to pass through to get_actual_argument. @@ -1271,7 +1271,7 @@ DEREF(NODE *r) #define efree(p) free(p) -#define fatal set_loc(__FILE__, __LINE__), r_fatal +#define fatal (*(set_loc(__FILE__, __LINE__), r_fatal)) extern jmp_buf fatal_tag; extern bool fatal_tag_valid; |