50 |
/* The main formatting function. Output is placed on the obstack OBS, the |
/* The main formatting function. Output is placed on the obstack OBS, the |
51 |
first argument in ARGV is the formatting string, and the rest is |
first argument in ARGV is the formatting string, and the rest is |
52 |
arguments for the string. */ |
arguments for the string. */ |
53 |
void format (struct obstack *obs, int argc, m4_symbol_value **argv); |
void format (m4_obstack *obs, int argc, m4_symbol_value **argv); |
54 |
|
|
55 |
void |
void |
56 |
format (struct obstack *obs, int argc, m4_symbol_value **argv) |
format (m4_obstack *obs, int argc, m4_symbol_value **argv) |
57 |
{ |
{ |
58 |
char *fmt; /* format control string */ |
char *fmt; /* format control string */ |
59 |
const char *fstart; /* beginning of current format spec */ |
const char *fstart; /* beginning of current format spec */ |