diff options
author | Per Bothner <bothner@gcc.gnu.org> | 1995-05-15 13:42:04 -0700 |
---|---|---|
committer | Per Bothner <bothner@gcc.gnu.org> | 1995-05-15 13:42:04 -0700 |
commit | 1519594d5a1708eae355e0c774e3efafff1229e2 (patch) | |
tree | 906f6f21191f205b17ded5af77113bdbf7950d1a /gcc/cppexp.c | |
parent | bc9cc2868de3c70ef195eee59f792ca4b1ea7080 (diff) | |
download | gcc-1519594d5a1708eae355e0c774e3efafff1229e2.zip gcc-1519594d5a1708eae355e0c774e3efafff1229e2.tar.gz gcc-1519594d5a1708eae355e0c774e3efafff1229e2.tar.bz2 |
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
Diffstat (limited to 'gcc/cppexp.c')
-rw-r--r-- | gcc/cppexp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cppexp.c b/gcc/cppexp.c index 8e65a95..70da378 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; |