From bddabd7e5d27454f39d18ecf47705e6bf79bd53a Mon Sep 17 00:00:00 2001 From: raster Date: Tue, 29 Mar 2011 11:56:51 +0000 Subject: [PATCH] fix expansions in macors starting with - losing the - :) jeff! :) happiness? git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@58177 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/bin/epp/cpplib.c | 5 +++++ 1 file changed, 5 insertions(+) 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]) { -- 2.7.4