1 |
2003-06-05 Gary V. Vaughan <gary@gnu.org> |
2003-06-05 Gary V. Vaughan <gary@gnu.org> |
2 |
|
|
3 |
|
Begin preparations for supporting formal parameters in m4 macros. |
4 |
|
|
5 |
|
* m4/m4private.h (struct m4_token_arg): Placeholder for holding |
6 |
|
the details of a formal parameter. |
7 |
|
(m4_token): Add an arg_signature member to hold a hash table for |
8 |
|
looking up formal parameters. |
9 |
|
* m4/input.c: Update more bitrotted comments. |
10 |
|
(m4_push_builtin): Initialise arg_signature member. |
11 |
|
(init_builtin_token): Copy arg_signature member. |
12 |
|
* m4/m4module.h (m4_builtin_pushdef, m4_builtin_define) |
13 |
|
(m4_macro_pushdef, m4_macro_define): Rewritten as macros to |
14 |
|
replace... |
15 |
|
* m4/builtin.c (m4_builtin_pushdef, m4_builtin_define) |
16 |
|
(m4_macro_pushdef, m4_macro_define): ...these, And... |
17 |
|
(m4_symbol_token): ...wrapped around this new function, which |
18 |
|
vastly simplifies the arguments required by the functions it |
19 |
|
replaces. |
20 |
|
Changed all callers. |
21 |
|
|
22 |
|
2003-06-05 Gary V. Vaughan <gary@gnu.org> |
23 |
|
|
24 |
* m4/macro.c: Format changes. |
* m4/macro.c: Format changes. |
25 |
|
|
26 |
2003-06-04 Gary V. Vaughan <gary@gnu.org> |
2003-06-04 Gary V. Vaughan <gary@gnu.org> |