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