diff options
Diffstat (limited to 'ChangeLog')
-rwxr-xr-x | ChangeLog | 40 |
1 files changed, 40 insertions, 0 deletions
@@ -1,5 +1,45 @@ 2019-01-20 Arnold D. Robbins <arnold@skeeve.com> + Restore functionality. + + * awkgram.y (qualify_name): Remove `is_var' param, always check + for all upper case. Adjust all calls. + (Grammar): Do qualify_name for function calls also. + +2019-01-19 Arnold D. Robbins <arnold@skeeve.com> + + Continue fixing memory leaks. + + * awk.h (set_current_namespace): Declare function. + * awkgram.y: Change all assignments of current_namespace to calls + to set_current_namespace. + (is_all_upper, qualify_name): New functions. + (in_function): Change type to bool, and fix usages. + (Grammar): Use qualify_name on variables and function names. + * main.c: Change all assignments of current_namespace to calls + to set_current_namespace. + (set_current_namespace): New function. + * profile.c (pp_namespace): Don't free old current_namespace. Add + comment explaining why. + +2019-01-18 Arnold D. Robbins <arnold@skeeve.com> + + Start fixing memory leaks related to namespaces. + + * awkgram.y (Grammar): At simple_variable -> NAME, qualify names + before lookup/install. + (next_sourcefile): Check if need to free current_namespace before + assigning to it. + (yylex): Fix length of string to be dup'ed before returning + NAME or FUNC_CALL. + (set_namespace): Always free ns->lextok, adjust memory allocations + appropriately. + * main.c (main): Check if need to free current_namespace before + assigning to it. + * profile.c (pp_namespace): Ditto. (This may not be necessary.) + +2019-01-18 Arnold D. Robbins <arnold@skeeve.com> + * debug.c (do_set_var): Add comments before calls to assoc_set. * interpret.h (r_interpret): For Op_sub_array, deref the subscript appropriately. Thanks to Andy Schorr for the catch. |