fix expansions in macors starting with - losing the - :) jeff! :)
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 29 Mar 2011 11:56:51 +0000 (11:56 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 29 Mar 2011 11:56:51 +0000 (11:56 +0000)
happiness?

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@58177 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/bin/epp/cpplib.c

index 0e5b47a..ae458bc 100644 (file)
@@ -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])
                    {