projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8dc78c
)
edje_cc now fails for multiple data entries with the same key, FIXME--
author
Mike Blumenkrantz
<zmike@samsung.com>
Mon, 24 Mar 2014 19:18:28 +0000
(15:18 -0400)
committer
Mike Blumenkrantz
<zmike@samsung.com>
Mon, 24 Mar 2014 19:18:28 +0000
(15:18 -0400)
src/bin/edje/edje_cc_handlers.c
patch
|
blob
|
history
diff --git
a/src/bin/edje/edje_cc_handlers.c
b/src/bin/edje/edje_cc_handlers.c
index
ad0879a
..
39f2605
100644
(file)
--- a/
src/bin/edje/edje_cc_handlers.c
+++ b/
src/bin/edje/edje_cc_handlers.c
@@
-1737,8
+1737,16
@@
st_data_item(void)
if (!edje_file->data)
edje_file->data = eina_hash_string_small_new(free);
+ else
+ {
+ if (eina_hash_find(edje_file->data, key))
+ {
+ ERR("parse error %s:%i. There is already a data.item of the name %s",
+ file_in, line - 1, key);
+ exit(-1);
+ }
+ }
- /* FIXME: check if data already exist */
eina_hash_direct_add(edje_file->data, key, es);
}