forked from enlightenment/efl
fix expansions in macors starting with - losing the - :) jeff! :)
happiness? SVN revision: 58177
This commit is contained in:
parent
6b4d91830e
commit
3620950f7c
|
@ -4852,10 +4852,15 @@ cpp_get_token(cpp_reader * pfile)
|
||||||
c = GETC();
|
c = GETC();
|
||||||
if (c == '-')
|
if (c == '-')
|
||||||
{
|
{
|
||||||
|
#if 1 // fix macro expansions starting with - losing the -
|
||||||
|
CPP_PUTS(pfile, "-", 1);
|
||||||
|
return CPP_OTHER;
|
||||||
|
#else
|
||||||
if (pfile->output_escapes)
|
if (pfile->output_escapes)
|
||||||
CPP_PUTS(pfile, "@-", 2);
|
CPP_PUTS(pfile, "@-", 2);
|
||||||
parse_name(pfile, GETC());
|
parse_name(pfile, GETC());
|
||||||
return CPP_NAME;
|
return CPP_NAME;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
else if (is_space[c])
|
else if (is_space[c])
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue