1 // NOTE: This file has been generated automatically by “update-message-registry.py”.
2 // Do not edit manually!
10 * Special case when no message identifier is defined.
12 #define XKB_LOG_MESSAGE_NO_ID 0
15 * @name Codes of the log messages
17 enum xkb_message_code {
18 _XKB_LOG_MESSAGE_MIN_CODE = 34,
19 /** Warn on malformed number literals */
20 XKB_ERROR_MALFORMED_NUMBER_LITERAL = 34,
21 /** Conflicting “preserve” entries in a key type */
22 XKB_WARNING_CONFLICTING_KEY_TYPE_PRESERVE_ENTRIES = 43,
23 /** Warn on unsupported modifier mask */
24 XKB_ERROR_UNSUPPORTED_MODIFIER_MASK = 60,
25 /** Expected an array entry, but the index is missing */
26 XKB_ERROR_EXPECTED_ARRAY_ENTRY = 77,
27 /** Illegal keycode alias with the name of a real key */
28 XKB_WARNING_ILLEGAL_KEYCODE_ALIAS = 101,
29 /** Warn on unrecognized keysyms */
30 XKB_WARNING_UNRECOGNIZED_KEYSYM = 107,
31 /** A virtual modifier is used before being declared */
32 XKB_ERROR_UNDECLARED_VIRTUAL_MODIFIER = 123,
33 /** The type of the statement is not allowed in the context */
34 XKB_ERROR_WRONG_STATEMENT_TYPE = 150,
35 /** Geometry sections are not supported */
36 XKB_WARNING_UNSUPPORTED_GEOMETRY_SECTION = 172,
37 /** Warn if no key type can be inferred */
38 XKB_WARNING_CANNOT_INFER_KEY_TYPE = 183,
39 /** Invalid escape sequence in a string */
40 XKB_WARNING_INVALID_ESCAPE_SEQUENCE = 193,
41 /** The result of a key type “preserve” entry must be a subset of its input modifiers. */
42 XKB_WARNING_ILLEGAL_KEY_TYPE_PRESERVE_RESULT = 195,
43 /** Syntax error in the include statement */
44 XKB_ERROR_INVALID_INCLUDE_STATEMENT = 203,
45 /** A modmap entry is invalid */
46 XKB_ERROR_INVALID_MODMAP_ENTRY = 206,
47 /** Warn when a group index is not supported */
48 XKB_ERROR_UNSUPPORTED_GROUP_INDEX = 237,
49 /** The name of a key type level is defined multiple times. */
50 XKB_WARNING_CONFLICTING_KEY_TYPE_LEVEL_NAMES = 239,
51 /** Invalid statement setting default values */
52 XKB_ERROR_INVALID_SET_DEFAULT_STATEMENT = 254,
53 /** Conflicting “map” entries in type definition */
54 XKB_WARNING_CONFLICTING_KEY_TYPE_MAP_ENTRY = 266,
55 /** Warn if using an undefined key type */
56 XKB_WARNING_UNDEFINED_KEY_TYPE = 286,
57 /** Warn if a group name was defined for group other than the first one */
58 XKB_WARNING_NON_BASE_GROUP_NAME = 305,
59 /** Warn when a shift level is not supported */
60 XKB_ERROR_UNSUPPORTED_SHIFT_LEVEL = 312,
61 /** Could not find a file used in an include statement */
62 XKB_ERROR_INCLUDED_FILE_NOT_FOUND = 338,
63 /** Use of an operator that is unknown and thus unsupported */
64 XKB_ERROR_UNKNOWN_OPERATOR = 345,
65 /** An entry is duplicated and will be ignored */
66 XKB_WARNING_DUPLICATE_ENTRY = 378,
67 /** Conflicting definitions of a key type */
68 XKB_WARNING_CONFLICTING_KEY_TYPE_DEFINITIONS = 407,
69 /** A statement is in a wrong scope and should be moved */
70 XKB_ERROR_WRONG_SCOPE = 428,
71 /** Missing default section in included file */
72 XKB_WARNING_MISSING_DEFAULT_SECTION = 433,
73 /** Warn if there are conflicting keysyms while merging keys */
74 XKB_WARNING_CONFLICTING_KEY_SYMBOL = 461,
75 /** The operation is invalid in the context */
76 XKB_ERROR_INVALID_OPERATION = 478,
77 /** Warn on numeric keysym (other than 0-9) */
78 XKB_WARNING_NUMERIC_KEYSYM = 489,
79 /** TODO: add description */
80 XKB_WARNING_EXTRA_SYMBOLS_IGNORED = 516,
81 /** Conflicting definitions of a key name or alias */
82 XKB_WARNING_CONFLICTING_KEY_NAME = 523,
83 /** Cannot allocate memory */
84 XKB_ERROR_ALLOCATION_ERROR = 550,
85 /** Warn when a field has not the expected type */
86 XKB_ERROR_WRONG_FIELD_TYPE = 578,
87 /** Invalid _real_ modifier */
88 XKB_ERROR_INVALID_REAL_MODIFIER = 623,
89 /** Warn on unknown escape sequence in string literal */
90 XKB_WARNING_UNKNOWN_CHAR_ESCAPE_SEQUENCE = 645,
91 /** The target file of an include statement could not be processed */
92 XKB_ERROR_INVALID_INCLUDED_FILE = 661,
93 /** Warn if a key defines multiple groups at once */
94 XKB_WARNING_MULTIPLE_GROUPS_AT_ONCE = 700,
95 /** A legacy X11 symbol field is not supported */
96 XKB_WARNING_UNSUPPORTED_SYMBOLS_FIELD = 711,
97 /** The syntax is invalid and the file cannot be parsed */
98 XKB_ERROR_INVALID_SYNTAX = 769,
99 /** Reference to an undefined keycode */
100 XKB_WARNING_UNDEFINED_KEYCODE = 770,
101 /** An expression has not the expected type */
102 XKB_ERROR_INVALID_EXPRESSION_TYPE = 784,
103 /** A value is invalid and will be ignored */
104 XKB_ERROR_INVALID_VALUE = 796,
105 /** Warn if there are conflicting modmap definitions */
106 XKB_WARNING_CONFLICTING_MODMAP = 800,
107 /** A field is unknown and will be ignored */
108 XKB_ERROR_UNKNOWN_FIELD = 812,
109 /** Warn if there are conflicting actions while merging keys */
110 XKB_WARNING_CONFLICTING_KEY_ACTION = 883,
111 /** Warn if there are conflicting key types while merging groups */
112 XKB_WARNING_CONFLICTING_KEY_TYPE_MERGING_GROUPS = 893,
113 /** Conflicting symbols entry for a key */
114 XKB_ERROR_CONFLICTING_KEY_SYMBOLS_ENTRY = 901,
115 /** Missing group index in a group name entry */
116 XKB_WARNING_MISSING_SYMBOLS_GROUP_NAME_INDEX = 903,
117 /** Warn if there are conflicting fields while merging keys */
118 XKB_WARNING_CONFLICTING_KEY_FIELDS = 935,
119 /** An identifier is used but is not built-in */
120 XKB_ERROR_INVALID_IDENTIFIER = 949,
121 /** Warn if using a symbol not defined in the keymap */
122 XKB_WARNING_UNRESOLVED_KEYMAP_SYMBOL = 965,
123 /** Some modifiers used in a key type “map” or “preserve” entry are not declared */
124 XKB_WARNING_UNDECLARED_MODIFIERS_IN_KEY_TYPE = 971,
125 _XKB_LOG_MESSAGE_MAX_CODE = 971
128 typedef uint32_t xkb_message_code_t;