OSDN Git Service

Merge branch 'macos-develop' into macos-3-0-0
[hengbandforosx/hengbandosx.git] / src / info-reader / parse-error-types.h
1 #pragma once
2
3 enum parse_error_type : int {
4     PARSE_ERROR_NONE = 0,
5     PARSE_ERROR_GENERIC = 1,
6     PARSE_ERROR_OBSOLETE_FILE = 2,
7     PARSE_ERROR_MISSING_RECORD_HEADER = 3,
8     PARSE_ERROR_NON_SEQUENTIAL_RECORDS = 4,
9     PARSE_ERROR_INVALID_FLAG = 5,
10     PARSE_ERROR_UNDEFINED_DIRECTIVE = 6,
11     PARSE_ERROR_OUT_OF_MEMORY = 7,
12     PARSE_ERROR_OUT_OF_BOUNDS = 8,
13     PARSE_ERROR_TOO_FEW_ARGUMENTS = 9,
14     PARSE_ERROR_UNDEFINED_TERRAIN_TAG = 10,
15     PAESE_ERROR_INVALID_PVAL = 11,
16     PARSE_ERROR_MAX,
17 };