1 |
2003-06-16 Gary V. Vaughan <gary@gnu.org> |
2003-06-16 Gary V. Vaughan <gary@gnu.org> |
2 |
|
|
3 |
|
Further refactoring to stabilise the module API. Renaming some |
4 |
|
functions for orthogonality, and judicious definition migration to |
5 |
|
move things out of the set of exported symbols. |
6 |
|
|
7 |
|
* doc/STYLE: New file. Notes on coding style. |
8 |
|
* m4/m4module.c: Updated bitrotted docucomment at the top of the |
9 |
|
file. |
10 |
|
(m4_module_name, m4_module_builtins, m4_module_macros): Renamed to |
11 |
|
m4_get_module_name, m4_get_module_builtin_table, |
12 |
|
m4_get_module_macro_table which are verb phrases. Changed all |
13 |
|
callers. |
14 |
|
* m4/builtin.c (m4_builtin_table_install, m4_macro_table_install): |
15 |
|
Moved to... |
16 |
|
* m4/module.c (m4_set_module_builtin_table) |
17 |
|
(m4_set_module_macro_table): ...here, and renamed. Changed all |
18 |
|
callers. |
19 |
|
* m4/m4module.c (m4_module_data): This... |
20 |
|
* m4/m4private.c (struct m4_module_data): ...and this... |
21 |
|
* m4/module.c (module_data) ...consolidated here and no longer |
22 |
|
exported. Changed all callers. |
23 |
|
|
24 |
|
2003-06-16 Gary V. Vaughan <gary@gnu.org> |
25 |
|
|
26 |
Begin work on lifting the curse of the global variables. To start |
Begin work on lifting the curse of the global variables. To start |
27 |
with create a `struct m4' context container, and replace |
with create a `struct m4' context container, and replace |
28 |
`m4__symtab' with `context->symtab' throughout. This means |
`m4__symtab' with `context->symtab' throughout. This means |
31 |
container gets passed through. It would have been nice to |
container gets passed through. It would have been nice to |
32 |
defer this until after 1.5, but it has a major effect on the |
defer this until after 1.5, but it has a major effect on the |
33 |
user's module writing ABI, so it needs to be addressed now - at |
user's module writing ABI, so it needs to be addressed now - at |
34 |
least in the areas that impact the ABI. An interrelatated change |
least in the areas that impact the ABI. An interrelated change |
35 |
in the symtab API removes the dependency on a global symbol table, |
in the symtab API removes the dependency on a global symbol table, |
36 |
and instead focuses on a passed table (from the context |
and instead focuses on a passed table (from the context |
37 |
container). |
container). |