summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
63d0fb9)
Replace all instances of assert with abort.
#include <ctype.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <stdlib.h>
#include <string.h>
int
main (int argc, char** argv)
{
int
main (int argc, char** argv)
{
+ if (argc != 2)
+ abort ();
if (!freopen (argv[1], "r", stdin))
abort ();
exit (yyparse ());
if (!freopen (argv[1], "r", stdin))
abort ();
exit (yyparse ());