From 3620950f7c3d072958d44b75ec17b8389e12e519 Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Tue, 29 Mar 2011 11:56:51 +0000 Subject: [PATCH] fix expansions in macors starting with - losing the - :) jeff! :) happiness? SVN revision: 58177 --- legacy/edje/src/bin/epp/cpplib.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/legacy/edje/src/bin/epp/cpplib.c b/legacy/edje/src/bin/epp/cpplib.c index 0e5b47aa24..ae458bcc72 100644 --- a/legacy/edje/src/bin/epp/cpplib.c +++ b/legacy/edje/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]) {