From: Per Bothner Date: Mon, 15 May 1995 20:42:04 +0000 (-0700) Subject: cppexp.c (cpp_reader): Test for '#' (start of assertion) *after* skipping hspace... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1519594d5a1708eae355e0c774e3efafff1229e2;p=gcc.git 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 --- diff --git a/gcc/cppexp.c b/gcc/cppexp.c index 8e65a95274a..70da378f2a9 100644 --- a/gcc/cppexp.c +++ b/gcc/cppexp.c @@ -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;