/[m4]/m4/ChangeLog
ViewVC logotype

Diff of /m4/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.191 by gary, Thu Jul 17 19:57:06 2003 UTC revision 1.192 by gary, Wed Jul 23 11:51:26 2003 UTC
# Line 1  Line 1 
1    2003-07-23  Gary V. Vaughan  <gary@gnu.org>
2    
3            More refactoring of the m4module.h API.  Replace #defines with an
4            enum, and move non-public functions out of the public API.
5    
6            * m4/debug.c (stdarg.h, varargs.h): Remove variadic header
7            inclusion.
8            * m4/macro.c (stdarg.h): Add ANSI C variadic header.
9            * m4/debug.c (m4_debug, trace): Moved...
10            * m4/m4private.h (struct m4): ...to fields of this struct.
11            (m4_get_debug_file, m4_get_trace_messages): New fast access macros
12            for the new fields.
13            * m4/debug.c (m4_debug_init, m4_debug_exit): Removed functions...
14            * src/main.c (m4_debug_init, m4_debug_exit): ...invocations...
15            * m4/m4.c (m4_create, m4_delete): ...and handled here instead.
16            * m4/m4module.h (m4_context_field_table): Add entries for new
17            debug_file and trace_messages fields.
18            (M4_DEBUG_TRACE_ARGS, M4_DEBUG_TRACE_EXPANSION)
19            (M4_DEBUG_TRACE_QUOTE, M4_DEBUG_TRACE_ALL, M4_DEBUG_TRACE_LINE)
20            (M4_DEBUG_TRACE_FILE, M4_DEBUG_TRACE_PATH, M4_DEBUG_TRACE_CALL)
21            (M4_DEBUG_TRACE_INPUT, M4_DEBUG_TRACE_CALLID)
22            (M4_DEBUG_TRACE_VERBOSE): Replaced #defines with an enum.
23            (m4_is_debug_bit): New macro to simplfy checks against the debug
24            bits above.
25            (m4_trace_format, m4_trace_header, m4_trace_flush)
26            (m4_trace_prepre, m4_trace_pre, m4_trace_post): Removed
27            prototypes.
28            * m4/debug.c (m4_trace_format, m4_trace_header, m4_trace_flush)
29            (m4_trace_prepre, m4_trace_pre, m4_trace_post): Moved...
30            * m4/macro.c (trace_format, trace_header, trace_flush)
31            (trace_prepre, trace_pre, trace_post): ...to these newly static
32            functions, since they are only ever used from this file.  Changed
33            all callers.
34    
35  2003-07-17  Gary V. Vaughan  <gary@gnu.org>  2003-07-17  Gary V. Vaughan  <gary@gnu.org>
36    
37          Change the macros for checking syntax so that matching against          Change the macros for checking syntax so that matching against
# Line 147  Line 181 
181    
182          Two related changes, and a huge knockon effect throughout the          Two related changes, and a huge knockon effect throughout the
183          source: Moved the option variables out of global space and into          source: Moved the option variables out of global space and into
184          `struct m4'; made `m4_symtab' a real datatype, so that it's api          `struct m4'; made `m4_symtab' a real datatype, so that its api
185          is not marred passing `struct m4' around just so it can decide          is not marred passing `struct m4' around just so it can decide
186          whether to keep traced symbol names or not.  Added setters and          whether to keep traced symbol names or not.  Added setters and
187          getters for the formerly global option variables, and obviously          getters for the formerly global option variables, and obviously

Legend:
Removed from v.1.191  
changed lines
  Added in v.1.192

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26