cppexp.c (cpp_reader): Test for '#' (start of assertion) *after* skipping hspace, not before.
* cppexp.c (cpp_reader): Test for '#' (start of assertion) *after* skipping hspace, not before. From-SVN: r9687
This commit is contained in:
parent
bc9cc2868d
commit
1519594d5a
|
@ -287,13 +287,13 @@ cpp_reader *pfile;
|
||||||
|
|
||||||
retry:
|
retry:
|
||||||
|
|
||||||
|
old_written = CPP_WRITTEN (pfile);
|
||||||
|
cpp_skip_hspace (pfile);
|
||||||
c = CPP_BUF_PEEK (CPP_BUFFER (pfile));
|
c = CPP_BUF_PEEK (CPP_BUFFER (pfile));
|
||||||
if (c == '#')
|
if (c == '#')
|
||||||
return parse_number (pfile,
|
return parse_number (pfile,
|
||||||
cpp_read_check_assertion (pfile) ? "1" : "0", 1);
|
cpp_read_check_assertion (pfile) ? "1" : "0", 1);
|
||||||
|
|
||||||
old_written = CPP_WRITTEN (pfile);
|
|
||||||
cpp_skip_hspace (pfile);
|
|
||||||
if (c == '\n')
|
if (c == '\n')
|
||||||
{
|
{
|
||||||
op.op = 0;
|
op.op = 0;
|
||||||
|
|
Loading…
Reference in New Issue