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:
Per Bothner 1995-05-15 13:42:04 -07:00
parent bc9cc2868d
commit 1519594d5a
1 changed files with 2 additions and 2 deletions

View File

@ -287,13 +287,13 @@ cpp_reader *pfile;
retry:
old_written = CPP_WRITTEN (pfile);
cpp_skip_hspace (pfile);
c = CPP_BUF_PEEK (CPP_BUFFER (pfile));
if (c == '#')
return parse_number (pfile,
cpp_read_check_assertion (pfile) ? "1" : "0", 1);
old_written = CPP_WRITTEN (pfile);
cpp_skip_hspace (pfile);
if (c == '\n')
{
op.op = 0;