X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=main.c;h=ec4df57cdf0e356223ab6ab49746762a21d87fc9;hb=be3167c9e0220a4ee3e8b5c5f813fb2627d1ce55;hp=5439f117db42d4a9b42ee2ffe18267da3fa6d573;hpb=4e0c88b473dffdefb830e6806c3692aab6b4fa0c;p=pgn-extract diff --git a/main.c b/main.c index 5439f11..ec4df57 100644 --- a/main.c +++ b/main.c @@ -23,6 +23,7 @@ #include #include #include +#include #include "bool.h" #include "mymalloc.h" #include "defs.h" @@ -102,9 +103,12 @@ StateInfo GlobalState = { FALSE, /* add_position_match_comments (--markmatches) */ FALSE, /* output_total_plycount (--totalplycount) */ FALSE, /* add_hashcode_tag (--addhashcode) */ + FALSE, /* dump-eco (--dumpeco) */ "MATCH", /* position_match_comment (--markpositionmatches) */ (char *)NULL, /* current_input_file */ NORMALFILE, /* current_file_type */ + 0, /* start_position */ + LONG_MAX, /* end_position */ DEFAULT_ECO_FILE, /* eco_file (-e) */ (FILE *)NULL, /* outputfile (-o, -a). Default is stdout */ (char *)NULL, /* output_filename (-o, -a) */