diff options
author | Cedric BAIL <cedric@osg.samsung.com> | 2015-04-16 18:41:42 +0200 |
---|---|---|
committer | Cedric BAIL <cedric@osg.samsung.com> | 2015-04-16 19:21:45 +0200 |
commit | 863ed65a0fcf85b996f5baa5a38050217b9eae04 (patch) | |
tree | 4bc17fd5a51e202126f978cc32c19434d90257bb /src/bin/edje/epp/cpplib.c | |
parent | 186cb58238d05edb31c50693f3ba598789067bc9 (diff) |
epp: fix annotate.
Diffstat (limited to '')
-rw-r--r-- | src/bin/edje/epp/cpplib.c | 8 |
1 files changed, 4 insertions, 4 deletions
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. */ |
501 | static unsigned char is_space[256]; | 501 | static unsigned char is_space[256]; |
502 | 502 | ||
503 | static int anotate = 0; | 503 | static 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 | } |