[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gawk-diffs] [SCM] gawk branch, feature/namespaces, updated. gawk-4.1.0-
From: |
Arnold Robbins |
Subject: |
[gawk-diffs] [SCM] gawk branch, feature/namespaces, updated. gawk-4.1.0-2613-g7f8fd6e |
Date: |
Mon, 3 Jul 2017 14:01:22 -0400 (EDT) |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gawk".
The branch, feature/namespaces has been updated
via 7f8fd6e9d07b942b132a59cdc650493566fc282d (commit)
via 3726632fb30bdbd08f5e030a65d8f4bfb29a79d6 (commit)
from e4f518de7d385d0f50cfc74f1ca420c0c42c70b9 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=7f8fd6e9d07b942b132a59cdc650493566fc282d
commit 7f8fd6e9d07b942b132a59cdc650493566fc282d
Merge: e4f518d 3726632
Author: Arnold D. Robbins <address@hidden>
Date: Mon Jul 3 21:01:15 2017 +0300
Merge branch 'master' into feature/namespaces
diff --cc ChangeLog
index c2e94fc,0f8c12f..9c394bc
--- a/ChangeLog
+++ b/ChangeLog
@@@ -1,54 -1,7 +1,58 @@@
+ 2017-07-03 Arnold D. Robbins <address@hidden>
+
+ * gawkapi.h, gawkapi.c: Typo fixes in comments.
+
+2017-07-01 Arnold D. Robbins <address@hidden>
+
+ * symbol.c (install): Don't call fix_up_namespace if
+ installing parameters.
+ * profile.c (remove_namespace): Renamed to
+ (adjust_namespace): Make smarter and add boolean parameter for
+ if return was mallc'ed. Adjust calls.
+
+2017-06-30 Arnold D. Robbins <address@hidden>
+
+ Add namespace info into Op_Rule and Op_Func.
+ Fix memory management problem.
+ The changes temporarily break the test suite.
+
+ * awk.h (MAX_INSTRUCTION_ALLOC): Increase to 4.
+ (Op_K_namespace): Remove, not needed.
+ * eval.c (optypetab): Remove Op_K_namespace.
+ * awkgram.y (make_pp_namespace): New function.
+ (yylex): For BEGIN etc, allocate 4 in the instruction.
+ (install_func): Save namespace name for Op_rule.
+ (append_rule): Save namespace name for Op_rule.
+ * debug.c (print_instruction): Print namespace for Op_rule, Op_func.
+ Remove Op_K_namespace.
+ * profile.c (pp_namespace, remove_namespace): New functions.
+ (pprint): Call `pp_namespace'. Use `remove_namespace' on variable
+ names.
+ (pp_func): Ditto on both.
+ * symbol.c (lookup): Initialize `malloced' to false.
+ (install): Ditto.
+
+ Unbreak the test suite:
+
+ * awk.h (namespace_changed): Declare new boolean variable.
+ * awkgram.y (namespace_changed): Define new boolean variable.
+ (set_namespace): Set it to true when the namespace is changed.
+ * main.c (main): Set current_namespace to "awk::" for the pretty
+ printer.
+ * profile.c (pp_namespace): If namespace_changed is false, return.
+
+2017-06-28 Arnold D. Robbins <address@hidden>
+
+ * awk.h [ns_name]: Add macro in preparation for use.
+ * debug.c (print_instruction): Add case for Op_K_namespace.
+ Not really used yet.
+ * symbol.c (fix_up_namespace): Bug fix to always allocate
+ memory for a full name. Add boolean parameter to indicate
+ if memory was malloc'ed or not.
+ (lookup): Adjust call to fix_up_namespace and use make_str_node
+ if the string was malloced.
+ (install): Ditto.
+
2017-06-25 Andrew J. Schorr <address@hidden>
* gawkmisc.c (xmalloc): Remove function now in support/xalloc.h.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 4 ++++
gawkapi.c | 2 +-
gawkapi.h | 2 +-
3 files changed, 6 insertions(+), 2 deletions(-)
hooks/post-receive
--
gawk
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gawk-diffs] [SCM] gawk branch, feature/namespaces, updated. gawk-4.1.0-2613-g7f8fd6e,
Arnold Robbins <=