Commit 448251cf by Richard Stallman

(handle_directive): Output macro name if dump_names.

From-SVN: r1849
parent 72f1215c
......@@ -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? */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment