version 1.5, 2015/11/19 23:20:34 |
version 1.6, 2015/11/19 23:28:03 |
|
|
va_list ap; |
va_list ap; |
|
|
/* allocate and initialize new filter */ |
/* allocate and initialize new filter */ |
f = (struct filter *) malloc(sizeof(struct filter)); |
f = malloc(sizeof(struct filter)); |
if (!f) |
if (!f) |
flexerror(_("malloc failed (f) in filter_create_ext")); |
flexerror(_("malloc failed (f) in filter_create_ext")); |
memset(f, 0, sizeof(*f)); |
memset(f, 0, sizeof(*f)); |
|
|
struct filter *f; |
struct filter *f; |
|
|
/* allocate and initialize new filter */ |
/* allocate and initialize new filter */ |
f = (struct filter *) malloc(sizeof(struct filter)); |
f = malloc(sizeof(struct filter)); |
if (!f) |
if (!f) |
flexerror(_("malloc failed in filter_create_int")); |
flexerror(_("malloc failed in filter_create_int")); |
memset(f, 0, sizeof(*f)); |
memset(f, 0, sizeof(*f)); |
|
|
fprintf(to_c, "m4_define( [[M4_YY_OUTFILE_NAME]],[[%s]])m4_dnl\n", |
fprintf(to_c, "m4_define( [[M4_YY_OUTFILE_NAME]],[[%s]])m4_dnl\n", |
outfilename ? outfilename : "<stdout>"); |
outfilename ? outfilename : "<stdout>"); |
|
|
buf = (char *) malloc(readsz); |
buf = malloc(readsz); |
if (!buf) |
if (!buf) |
flexerror(_("malloc failed in filter_tee_header")); |
flexerror(_("malloc failed in filter_tee_header")); |
while (fgets(buf, readsz, stdin)) { |
while (fgets(buf, readsz, stdin)) { |
|
|
if (!chain) |
if (!chain) |
return 0; |
return 0; |
|
|
buf = (char *) malloc(readsz); |
buf = malloc(readsz); |
if (!buf) |
if (!buf) |
flexerror(_("malloc failed in filter_fix_linedirs")); |
flexerror(_("malloc failed in filter_fix_linedirs")); |
|
|