projects
/
platform
/
upstream
/
libxkbcommon.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Compose: add iterator API
[platform/upstream/libxkbcommon.git]
/
src
/
compose
/
parser.c
diff --git
a/src/compose/parser.c
b/src/compose/parser.c
index
124456d
..
e1b81de
100644
(file)
--- a/
src/compose/parser.c
+++ b/
src/compose/parser.c
@@
-63,9
+63,6
@@
OR PERFORMANCE OF THIS SOFTWARE.
#include "utf8.h"
#include "parser.h"
#include "utf8.h"
#include "parser.h"
-#define MAX_LHS_LEN 10
-#define MAX_INCLUDE_DEPTH 5
-
/*
* Grammar adapted from libX11/modules/im/ximcp/imLcPrs.c.
* See also the XCompose(5) manpage.
/*
* Grammar adapted from libX11/modules/im/ximcp/imLcPrs.c.
* See also the XCompose(5) manpage.
@@
-727,7
+724,9
@@
parse_file(struct xkb_compose_table *table, FILE *file, const char *file_name)
ok = map_file(file, &string, &size);
if (!ok) {
ok = map_file(file, &string, &size);
if (!ok) {
- log_err(table->ctx, "Couldn't read Compose file %s: %s\n",
+ log_err(table->ctx,
+ XKB_LOG_MESSAGE_NO_ID,
+ "Couldn't read Compose file %s: %s\n",
file_name, strerror(errno));
return false;
}
file_name, strerror(errno));
return false;
}