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.
This commit is contained in:
parent
41ff3c9d94
commit
8cf38539a1
|
@ -1070,7 +1070,7 @@ compile(void)
|
||||||
inc = ecore_file_dir_get(file_in);
|
inc = ecore_file_dir_get(file_in);
|
||||||
if (depfile)
|
if (depfile)
|
||||||
snprintf(buf, sizeof(buf), "\"%s\" -MMD \"%s\" -MT \"%s\" \"%s\""
|
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"
|
" -DEFL_VERSION_MAJOR=%d -DEFL_VERSION_MINOR=%d"
|
||||||
EDJE_CC_EFL_VERSION_SUPPORTED,
|
EDJE_CC_EFL_VERSION_SUPPORTED,
|
||||||
buf2, depfile, file_out, file_in,
|
buf2, depfile, file_out, file_in,
|
||||||
|
@ -1078,7 +1078,7 @@ compile(void)
|
||||||
EINA_VERSION_MAJOR, EINA_VERSION_MINOR);
|
EINA_VERSION_MAJOR, EINA_VERSION_MINOR);
|
||||||
else if (annotate)
|
else if (annotate)
|
||||||
snprintf(buf, sizeof(buf), "\"%s\" -annotate -a \"%s\" \"%s\""
|
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"
|
" -DEFL_VERSION_MAJOR=%d -DEFL_VERSION_MINOR=%d"
|
||||||
EDJE_CC_EFL_VERSION_SUPPORTED,
|
EDJE_CC_EFL_VERSION_SUPPORTED,
|
||||||
buf2, watchfile ? watchfile : "/dev/null", file_in,
|
buf2, watchfile ? watchfile : "/dev/null", file_in,
|
||||||
|
@ -1086,7 +1086,7 @@ compile(void)
|
||||||
EINA_VERSION_MAJOR, EINA_VERSION_MINOR);
|
EINA_VERSION_MAJOR, EINA_VERSION_MINOR);
|
||||||
else
|
else
|
||||||
snprintf(buf, sizeof(buf), "\"%s\" -a \"%s\" \"%s\" -I\"%s\""
|
snprintf(buf, sizeof(buf), "\"%s\" -a \"%s\" \"%s\" -I\"%s\""
|
||||||
" \"%s\" -o \"%s\""
|
" %s -o \"%s\""
|
||||||
" -DEFL_VERSION_MAJOR=%d -DEFL_VERSION_MINOR=%d"
|
" -DEFL_VERSION_MAJOR=%d -DEFL_VERSION_MINOR=%d"
|
||||||
EDJE_CC_EFL_VERSION_SUPPORTED,
|
EDJE_CC_EFL_VERSION_SUPPORTED,
|
||||||
buf2, watchfile ? watchfile : "/dev/null", file_in,
|
buf2, watchfile ? watchfile : "/dev/null", file_in,
|
||||||
|
|
Loading…
Reference in New Issue