2018-09-27 19:52:54 +02:00
|
|
|
#ifdef _MSV_VER
|
|
|
|
#include <platform.h>
|
|
|
|
#endif
|
|
|
|
|
2018-09-29 13:35:49 +02:00
|
|
|
#include "util/parser.h"
|
|
|
|
|
2018-09-28 20:50:24 +02:00
|
|
|
#include <stdio.h>
|
|
|
|
|
2018-09-27 19:52:54 +02:00
|
|
|
int main(int argc, char **argv) {
|
2018-09-28 20:50:24 +02:00
|
|
|
FILE * F = stdin;
|
|
|
|
if (argc >= 1) {
|
|
|
|
const char *filename = argv[1];
|
|
|
|
F = fopen(filename, "r");
|
|
|
|
if (!F) {
|
|
|
|
perror(filename);
|
|
|
|
return -1;
|
|
|
|
}
|
|
|
|
fclose(F);
|
|
|
|
}
|
2018-09-27 19:52:54 +02:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|