From: raster Date: Tue, 29 Mar 2011 11:56:51 +0000 (+0000) Subject: fix expansions in macors starting with - losing the - :) jeff! :) X-Git-Tag: submit/2.0alpha-wayland/20121127.221958~833 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ea19addc77ad99ae40321c7f6e4e1290cf98cbbc;p=profile%2Fivi%2Fedje.git fix expansions in macors starting with - losing the - :) jeff! :) happiness? git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@58177 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/bin/epp/cpplib.c b/src/bin/epp/cpplib.c index 0e5b47a..ae458bc 100644 --- a/src/bin/epp/cpplib.c +++ b/src/bin/epp/cpplib.c @@ -4852,10 +4852,15 @@ cpp_get_token(cpp_reader * pfile) c = GETC(); if (c == '-') { +#if 1 // fix macro expansions starting with - losing the - + CPP_PUTS(pfile, "-", 1); + return CPP_OTHER; +#else if (pfile->output_escapes) CPP_PUTS(pfile, "@-", 2); parse_name(pfile, GETC()); return CPP_NAME; +#endif } else if (is_space[c]) {