projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72f1215
)
(handle_directive): Output macro name if dump_names.
author
Richard Stallman
<rms@gnu.org>
Fri, 14 Aug 1992 23:15:01 +0000
(23:15 +0000)
committer
Richard Stallman
<rms@gnu.org>
Fri, 14 Aug 1992 23:15:01 +0000
(23:15 +0000)
From-SVN: r1849
gcc/cccp.c
patch
|
blob
|
history
diff --git
a/gcc/cccp.c
b/gcc/cccp.c
index fb22de8327337358b2fe0658e47a0d98e8bca85d..79bb8169ba3540ba3c23cb58ef8900e3460719cb 100644
(file)
--- a/
gcc/cccp.c
+++ b/
gcc/cccp.c
@@
-3377,6
+3377,17
@@
handle_directive (ip, op)
check_expand (op, len);
bcopy (buf, op->bufp, len);
op->bufp += len;
+ } else if (kt->type == T_DEFINE && dump_macros == dump_names) {
+ U_CHAR *xp = buf;
+ U_CHAR *yp;
+ SKIP_WHITE_SPACE (xp);
+ yp = xp;
+ while (is_idchar[*xp]) xp++;
+ len = (xp - yp);
+ check_expand (op, len + 1);
+ *op->bufp++ = ' ';
+ bcopy (yp, op->bufp, len);
+ op->bufp += len;
}
} /* Don't we need a newline or #line? */