1 |
2003-06-13 Gary V. Vaughan <gary@gnu.org> |
2003-06-13 Gary V. Vaughan <gary@gnu.org> |
2 |
|
|
3 |
|
* m4/hash.c (m4_hash_apply): Pass an initial hash table parameter |
4 |
|
to the callback. Callbacks should not need to hardcode the |
5 |
|
hashtable they are working from, nor should we have to waste the |
6 |
|
userdata parameter to pass the table in. |
7 |
|
* m4/hash.h (m4_hash_apply_func): Require the initial table |
8 |
|
parameter. |
9 |
|
* m4/symtab.c (symtab_destroy): Use the passed table instead |
10 |
|
of hardcoding m4__symtab. |
11 |
|
(m4_symbol_popdef): Don't use the userdata parameter to pass the |
12 |
|
table to arg_destroy. |
13 |
|
(arg_destroy): Use the hash parameter, ignore userdata. |
14 |
|
* modules/m4.c (set_trace): Make it fit the m4_hash_apply_func |
15 |
|
prototype. |
16 |
|
(traceon, traceoff): Call set_trace with the extra initial |
17 |
|
parameter. |
18 |
|
|
19 |
|
2003-06-13 Gary V. Vaughan <gary@gnu.org> |
20 |
|
|
21 |
More refactoring to stabilise the module api, this time for |
More refactoring to stabilise the module api, this time for |
22 |
symtab.c. Additionally, start to pay attention to function names |
symtab.c. Additionally, start to pay attention to function names |
23 |
that don't contain a verb like they should. |
that don't contain a verb like they should. |