fix expansions in macors starting with - losing the - :) jeff! :)

happiness?



SVN revision: 58177
This commit is contained in:
Carsten Haitzler 2011-03-29 11:56:51 +00:00
parent 6b4d91830e
commit 3620950f7c
1 changed files with 5 additions and 0 deletions

View 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])
{