jaehyun pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=8cf38539a167ee9919f093708fd6f8b52b8b5911

commit 8cf38539a167ee9919f093708fd6f8b52b8b5911
Author: Jaehyun Cho <jae_hyun....@samsung.com>
Date:   Tue Jan 10 22:23:35 2017 +0900

    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,

-- 


Reply via email to