summaryrefslogtreecommitdiff
path: root/src/bin/edje
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-04-16 18:41:42 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-04-16 19:21:45 +0200
commit863ed65a0fcf85b996f5baa5a38050217b9eae04 (patch)
tree4bc17fd5a51e202126f978cc32c19434d90257bb /src/bin/edje
parent186cb58238d05edb31c50693f3ba598789067bc9 (diff)
epp: fix annotate.
Diffstat (limited to 'src/bin/edje')
-rw-r--r--src/bin/edje/edje_cc_parse.c2
-rw-r--r--src/bin/edje/epp/cpplib.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/src/bin/edje/edje_cc_parse.c b/src/bin/edje/edje_cc_parse.c
index 71d3a319c4..4e2884318f 100644
--- a/src/bin/edje/edje_cc_parse.c
+++ b/src/bin/edje/edje_cc_parse.c
@@ -979,7 +979,7 @@ compile(void)
979 inc, def, clean_file, 979 inc, def, clean_file,
980 EINA_VERSION_MAJOR, EINA_VERSION_MINOR); 980 EINA_VERSION_MAJOR, EINA_VERSION_MINOR);
981 else if (annotate) 981 else if (annotate)
982 snprintf(buf, sizeof(buf), "%s -anotate -a %s %s -I%s %s -o %s" 982 snprintf(buf, sizeof(buf), "%s -annotate -a %s %s -I%s %s -o %s"
983 " -DEFL_VERSION_MAJOR=%d -DEFL_VERSION_MINOR=%d", 983 " -DEFL_VERSION_MAJOR=%d -DEFL_VERSION_MINOR=%d",
984 buf2, watchfile ? watchfile : "/dev/null", file_in, 984 buf2, watchfile ? watchfile : "/dev/null", file_in,
985 inc, def, clean_file, 985 inc, def, clean_file,
diff --git a/src/bin/edje/epp/cpplib.c b/src/bin/edje/epp/cpplib.c
index 310401247c..b8e0ff2d64 100644
--- a/src/bin/edje/epp/cpplib.c
+++ b/src/bin/edje/epp/cpplib.c
@@ -500,7 +500,7 @@ unsigned char is_hor_space[256];
500/* table to tell if c is horizontal or vertical space. */ 500/* table to tell if c is horizontal or vertical space. */
501static unsigned char is_space[256]; 501static unsigned char is_space[256];
502 502
503static int anotate = 0; 503static int annotate = 0;
504 504
505/* Initialize syntactic classifications of characters. */ 505/* Initialize syntactic classifications of characters. */
506 506
@@ -6612,9 +6612,9 @@ cpp_handle_options(cpp_reader * pfile, int argc, char **argv)
6612 opts->watchfile = argv[i]; 6612 opts->watchfile = argv[i];
6613 } 6613 }
6614 } 6614 }
6615 else if (!strcmp(argv[i], "-anotate")) 6615 else if (!strcmp(argv[i], "-annotate"))
6616 { 6616 {
6617 anotate = 1; 6617 annotate = 1;
6618 } 6618 }
6619 break; 6619 break;
6620 } 6620 }
@@ -7494,7 +7494,7 @@ using_file(const char *filename, const char type)
7494 if (!options.watchfile) return; 7494 if (!options.watchfile) return;
7495 f = fopen(options.watchfile, "a"); 7495 f = fopen(options.watchfile, "a");
7496 if (!f) return; 7496 if (!f) return;
7497 if (anotate) 7497 if (annotate)
7498 { 7498 {
7499 fprintf(f, "%c: %s\n", type, filename); 7499 fprintf(f, "%c: %s\n", type, filename);
7500 } 7500 }