enum parse_error_type : int {
PARSE_ERROR_NONE = 0,
- PARSE_ERROR_GENERIC = 1,
- PARSE_ERROR_ABSOLETE_FILE = 2,
+ PARSE_ERROR_GENERIC = 1,
+ PARSE_ERROR_OBSOLETE_FILE = 2,
PARSE_ERROR_MISSING_RECORD_HEADER = 3,
PARSE_ERROR_NON_SEQUENTIAL_RECORDS = 4,
PARSE_ERROR_INVALID_FLAG = 5,
}
}
-static void display_usage(const char* program)
+static void display_usage(const char *program)
{
/* Dump usage information */
printf("Usage: %s [options] [-- subopts]\n", program);
init_angband(p_ptr, process_autopick_file_command, TRUE);
switch (output_all_spoilers()) {
case SPOILER_OUTPUT_SUCCESS:
- puts("Successfully created a spiler file.");
+ puts("Successfully created a spoiler file.");
quit(NULL);
break;
case SPOILER_OUTPUT_FAIL_FOPEN: