Allow reading from standard input

This commit is contained in:
ceriel 1987-01-12 14:38:45 +00:00
parent 5ddf83ab5a
commit 9e528bef6f

View file

@ -34,8 +34,11 @@ main(argc,argv) char **argv; {
exit(-1); exit(-1);
} }
filename = argv[1]; filename = argv[1];
}
else if (argc == 1) {
filename = "";
} else } else
error("Usage: %s [-c] [-d] [-v] table",argv[0]); error("Usage: %s [-c] [-d] [-v] [table]",argv[0]);
initemhash(); initemhash();
enterkeyw(); enterkeyw();
initnodes(); initnodes();