From 8cf38539a167ee9919f093708fd6f8b52b8b5911 Mon Sep 17 00:00:00 2001 From: Jaehyun Cho Date: Tue, 10 Jan 2017 22:23:35 +0900 Subject: [PATCH] edje_cc_parse: Fix not to convert macros to a single string Double quotation marks convert macros to a single macro string and only the first macro becomes valid. So double quotation marks are not used for macros. --- src/bin/edje/edje_cc_parse.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bin/edje/edje_cc_parse.c b/src/bin/edje/edje_cc_parse.c index f0bd003..87ad7ba 100644 --- a/src/bin/edje/edje_cc_parse.c +++ b/src/bin/edje/edje_cc_parse.c @@ -1070,7 +1070,7 @@ compile(void) inc = ecore_file_dir_get(file_in); if (depfile) snprintf(buf, sizeof(buf), "\"%s\" -MMD \"%s\" -MT \"%s\" \"%s\"" - " -I\"%s\" \"%s\" -o \"%s\"" + " -I\"%s\" %s -o \"%s\"" " -DEFL_VERSION_MAJOR=%d -DEFL_VERSION_MINOR=%d" EDJE_CC_EFL_VERSION_SUPPORTED, buf2, depfile, file_out, file_in, @@ -1078,7 +1078,7 @@ compile(void) EINA_VERSION_MAJOR, EINA_VERSION_MINOR); else if (annotate) snprintf(buf, sizeof(buf), "\"%s\" -annotate -a \"%s\" \"%s\"" - " -I\"%s\" \"%s\" -o \"%s\"" + " -I\"%s\" %s -o \"%s\"" " -DEFL_VERSION_MAJOR=%d -DEFL_VERSION_MINOR=%d" EDJE_CC_EFL_VERSION_SUPPORTED, buf2, watchfile ? watchfile : "/dev/null", file_in, @@ -1086,7 +1086,7 @@ compile(void) EINA_VERSION_MAJOR, EINA_VERSION_MINOR); else snprintf(buf, sizeof(buf), "\"%s\" -a \"%s\" \"%s\" -I\"%s\"" - " \"%s\" -o \"%s\"" + " %s -o \"%s\"" " -DEFL_VERSION_MAJOR=%d -DEFL_VERSION_MINOR=%d" EDJE_CC_EFL_VERSION_SUPPORTED, buf2, watchfile ? watchfile : "/dev/null", file_in, -- 2.7.4