aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile_Edje.am
diff options
context:
space:
mode:
authorNak-Gyeong Kim <nakkyong.kim@samsung.com>2015-05-29 18:11:49 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-05-29 18:22:09 +0200
commit7d33ae501b2263ff1450c6351dea181573afe517 (patch)
treecd46ff3b8749c8206e433f68a8847e414db3d4f6 /src/Makefile_Edje.am
parentgitignore++ (diff)
downloadefl-7d33ae501b2263ff1450c6351dea181573afe517.tar.gz
edje: edje_cc_parse should check pair of parens.
Summary: Fix parens bug. ((x + y)-z) is OK. ((x + y) - z) is NOT OK. This patch can cover this case. @fix Signed-off-by: Nak-Gyeong Kim <nakkyong.kim@samsung.com> Test Plan: Test in edc. ((x + y)-z) is OK. ((x + y) - z) is NOT OK. This patch can cover this case. If parens are not paired, it will notify. Reviewers: raster, Hermet, cedric Subscribers: kimcinoo, jaehwan Differential Revision: https://phab.enlightenment.org/D2554 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'src/Makefile_Edje.am')
-rw-r--r--src/Makefile_Edje.am12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/Makefile_Edje.am b/src/Makefile_Edje.am
index b9b9c14e83..15a8fed37e 100644
--- a/src/Makefile_Edje.am
+++ b/src/Makefile_Edje.am
@@ -247,7 +247,8 @@ bin/edje/edje_convert_main.c \
lib/edje/edje_convert.c \
tests/edje/edje_tests_helpers.h \
tests/edje/data/complex_layout.edc \
-tests/edje/data/test_layout.edc
+tests/edje/data/test_layout.edc \
+tests/edje/data/test_parens.edc
bin_SCRIPTS += bin/edje/edje_recc
@@ -280,13 +281,16 @@ tests/edje/data/%.edj: tests/edje/data/%.edc bin/edje/edje_cc${EXEEXT}
$(EDJE_CC) $(EDJE_CC_FLAGS) -id $(srcdir)/tests/edje/data $< $@
EDJE_DATA_FILES = tests/edje/data/test_layout.edc \
- tests/edje/data/complex_layout.edc
+ tests/edje/data/complex_layout.edc \
+ tests/edje/data/test_parens.edc
edjedatafilesdir = $(datadir)/edje/data
edjedatafiles_DATA = tests/edje/data/test_layout.edj \
- tests/edje/data/complex_layout.edj
+ tests/edje/data/complex_layout.edj \
+ tests/edje/data/test_parens.edj
CLEANFILES += tests/edje/data/test_layout.edj \
- tests/edje/data/complex_layout.edj
+ tests/edje/data/complex_layout.edj \
+ tests/edje/data/test_parens.edj
endif