projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc9cc28
)
cppexp.c (cpp_reader): Test for '#' (start of assertion) *after* skipping hspace...
author
Per Bothner
<bothner@gcc.gnu.org>
Mon, 15 May 1995 20:42:04 +0000
(13:42 -0700)
committer
Per Bothner
<bothner@gcc.gnu.org>
Mon, 15 May 1995 20:42:04 +0000
(13:42 -0700)
* cppexp.c (cpp_reader): Test for '#' (start of assertion) *after*
skipping hspace, not before.
From-SVN: r9687
gcc/cppexp.c
patch
|
blob
|
history
diff --git
a/gcc/cppexp.c
b/gcc/cppexp.c
index 8e65a95274a3a45cc87b558b746c447b8beab776..70da378f2a9368e74ba71aa941a21f55387923b7 100644
(file)
--- 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;