m4-commit
[Top][All Lists]
Advanced

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

m4 ./ChangeLog m4/builtin.c m4/input.c m4/m4mod...


From: Gary V. Vaughan
Subject: m4 ./ChangeLog m4/builtin.c m4/input.c m4/m4mod...
Date: Fri, 13 Jun 2003 09:05:46 -0400

CVSROOT:        /cvsroot/m4
Module name:    m4
Branch:         
Changes by:     Gary V. Vaughan <address@hidden>        03/06/13 09:05:46

Modified files:
        .              : ChangeLog 
        m4             : builtin.c input.c m4module.h m4private.h 
                         macro.c module.c symtab.c utility.c 
        modules        : m4.c 
        src            : freeze.c main.c 

Log message:
        More refactoring to stabilise the module api, this time for
        symtab.c.  Additionally, start to pay attention to function names
        that don't contain a verb like they should.
        
        * m4/m4module.h (m4_symtab_apply): Reintroduced this function as a
        wrapper for m4_hash_apply to decouple the symtab module from the
        hash module.
        (m4_symbol_builtin, m4_symbol_macro): Renamed to
        m4__symbol_set_builtin and m4__symbol_set_macro.  Changed all
        callers.
        (m4_symbol_delete): Create a macro version to save a function
        call.
        (m4_token_t, m4_data_t): These violate the POSIX reserved
        namespace.  Renamed to m4_token_type and m4_symbol_type. Changed
        all callers.
        (m4_token_type): Renamed to m4_token_get_type.
        (m4_symtab, m4_symtab_init, m4_symtab_remove_module_references)
        (m4_symtab_exit): Removed from the exported module
        api...
        * m4/m4private.h (m4__symtab, m4__symtab_init)
        (m4__symtab_remove_module_references, m4__symtab_exit): ...and
        renamed and added to the internal api. Changed all callers.
        (m4_symtab_apply): A faster macro version of the function for
        users of the internal api.
        * m4/symtab.c (m4_symbol_destroy, m4_arg_destroy): Renamed to
        symbol_destroy and arg_destroy.
        (symtab_debug): Added a prototype.
        (m4_symtab_apply, m4_symbol_delete): Moved to the end of the file
        so that callers in this file get the faster macro versions from
        m4/m4private.h.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/m4/m4/ChangeLog.diff?tr1=1.172&tr2=1.173&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/m4/m4/m4/builtin.c.diff?tr1=1.16&tr2=1.17&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/m4/m4/m4/input.c.diff?tr1=1.23&tr2=1.24&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/m4/m4/m4/m4module.h.diff?tr1=1.43&tr2=1.44&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/m4/m4/m4/m4private.h.diff?tr1=1.19&tr2=1.20&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/m4/m4/m4/macro.c.diff?tr1=1.23&tr2=1.24&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/m4/m4/m4/module.c.diff?tr1=1.17&tr2=1.18&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/m4/m4/m4/symtab.c.diff?tr1=1.32&tr2=1.33&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/m4/m4/m4/utility.c.diff?tr1=1.23&tr2=1.24&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/m4/m4/modules/m4.c.diff?tr1=1.36&tr2=1.37&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/m4/m4/src/freeze.c.diff?tr1=1.24&tr2=1.25&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/m4/m4/src/main.c.diff?tr1=1.36&tr2=1.37&r1=text&r2=text





reply via email to

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