564 |
if (p == NULL) |
if (p == NULL) |
565 |
{ |
{ |
566 |
yyerror ("out of memory", NULL); |
yyerror ("out of memory", NULL); |
567 |
exit (1); |
exit (EXIT_FAILURE); |
568 |
} |
} |
569 |
return p; |
return p; |
570 |
} |
} |
581 |
if (p == NULL) |
if (p == NULL) |
582 |
{ |
{ |
583 |
yyerror ("out of memory", NULL); |
yyerror ("out of memory", NULL); |
584 |
exit (1); |
exit (EXIT_FAILURE); |
585 |
} |
} |
586 |
return p; |
return p; |
587 |
} |
} |
3671 |
int error; |
int error; |
3672 |
{ |
{ |
3673 |
puts (USAGE); |
puts (USAGE); |
3674 |
exit (error ? 1 : 0); |
exit (error ? EXIT_FAILURE : EXIT_SUCCESS); |
3675 |
} |
} |
3676 |
|
|
3677 |
|
|
3688 |
printf ("ebrowse %s\n", VERSION); |
printf ("ebrowse %s\n", VERSION); |
3689 |
puts ("Copyright (C) 1992-1999, 2000, 2001 Free Software Foundation, Inc."); |
puts ("Copyright (C) 1992-1999, 2000, 2001 Free Software Foundation, Inc."); |
3690 |
puts ("This program is distributed under the same terms as Emacs."); |
puts ("This program is distributed under the same terms as Emacs."); |
3691 |
exit (0); |
exit (EXIT_SUCCESS); |
3692 |
} |
} |
3693 |
|
|
3694 |
|
|
3925 |
if (yyout == NULL) |
if (yyout == NULL) |
3926 |
{ |
{ |
3927 |
yyerror ("cannot open output file `%s'", out_filename); |
yyerror ("cannot open output file `%s'", out_filename); |
3928 |
exit (1); |
exit (EXIT_FAILURE); |
3929 |
} |
} |
3930 |
} |
} |
3931 |
|
|
3970 |
if (yyout != stdout) |
if (yyout != stdout) |
3971 |
fclose (yyout); |
fclose (yyout); |
3972 |
|
|
3973 |
return 0; |
return EXIT_SUCCESS; |
3974 |
} |
} |
3975 |
|
|
|
|
|
|
/* ebrowse.c ends here. */ |
|
|
|
|
3976 |
/* arch-tag: fc03b4bc-91a9-4c3d-b3b9-12a77fa86dd8 |
/* arch-tag: fc03b4bc-91a9-4c3d-b3b9-12a77fa86dd8 |
3977 |
(do not change this comment) */ |
(do not change this comment) */ |
3978 |
|
|
3979 |
|
/* ebrowse.c ends here */ |