m4-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Changes to m4/ChangeLog,v


From: Eric Blake
Subject: Changes to m4/ChangeLog,v
Date: Tue, 05 Sep 2006 13:25:25 +0000

CVSROOT:        /sources/m4
Module name:    m4
Changes by:     Eric Blake <ericb>      06/09/05 13:25:24

Index: ChangeLog
===================================================================
RCS file: /sources/m4/m4/ChangeLog,v
retrieving revision 1.373
retrieving revision 1.374
diff -u -b -r1.373 -r1.374
--- ChangeLog   1 Sep 2006 23:12:33 -0000       1.373
+++ ChangeLog   5 Sep 2006 13:25:24 -0000       1.374
@@ -1,3 +1,37 @@
+2006-09-05  Eric Blake  <address@hidden>
+
+       * m4/macro.c (expansion_level, macro_call_id): Change to size_t.
+       All users updated.
+       (expand_token): Avoid assertion just added to docs.
+       (expand_macro): Track pending expansions, for when a symbol's
+       definition changes during argument collection.
+       (m4_macro_call, process_macro): Operate on symbol value, not
+       symbol, since symbol may have changed during argument collection.
+       * m4/m4private.h (m4_symbol_value): Add pending_expansions member.
+       (VALUE_PENDING, SYMBOL_PENDING, VALUE_DELETED_BIT): New defines.
+       (m4_get_symbol_value): Add fast macro version.
+       * m4/m4module.h (M4_BUILTIN_FLAGS_MASK): New enumerator.
+       (m4_macro_call): Adjust prototype.
+       * m4/module.c (install_builtin_table): Check that flags are valid
+       when creating builtin.
+       * m4/symtab.c (m4__symtab_remove_module_references): Use
+       m4_symbol_value_delete, rather than inlining it.
+       (m4_symbol_value_copy): Copy placeholder text.
+       (symbol_popval): Use m4_symbol_value_delete.
+       (m4_symbol_value_delete): Implementation was missing when NDEBUG.
+       Handle pending expansions.
+       * modules/gnu.c (indir): Update to new prototype.
+       * doc/m4.texinfo: Fix menus to be consistent with section names.
+       (Defn): Add test that macro tokens flatten to empty string;
+       triggered an assert before this patch.
+       (Ifelse): Merge another node.
+       (Loops): Split into...
+       (Forloop, Foreach): New nodes; work is still underway on them.
+       (Answers): Add more info on foreach macro; work is still underway.
+       (Indir): Add test that indir collects arguments before looking up
+       macro.
+       * TODO: Update based on this patch.
+
 2006-09-01  Eric Blake  <address@hidden>
 
        * m4/m4.c (m4_create): Fix latent bug since 2003-10-08.
@@ -7283,7 +7317,7 @@
 
        -----
 
-       $Revision: 1.373 $ $Date: 2006/09/01 23:12:33 $
+       $Revision: 1.374 $ $Date: 2006/09/05 13:25:24 $
 
        Local Variables:
        coding: utf-8




reply via email to

[Prev in Thread] Current Thread [Next in Thread]