Commit cac9d91e by Richard Kenner

(make_definition): Enable `-D' with macro arguments.

From-SVN: r8104
parent 7cbc7b0c
......@@ -9274,6 +9274,12 @@ make_definition (str, op)
}
while (is_idchar[*++p])
;
if (*p == '(') {
while (is_idchar[*++p] || *p == ',' || is_hor_space[*p])
;
if (*p++ != ')')
p = str; /* Error */
}
if (*p == 0) {
buf = (U_CHAR *) alloca (p - buf + 4);
strcpy ((char *)buf, str);
......
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