Undo overly-hasty backout. This reinstates part of my recent checkin.

This commit is contained in:
mccabe%netscape.com 1999-10-27 03:44:38 +00:00
parent bc126bc260
commit c3ea52c70e

View File

@ -754,7 +754,7 @@ codefrag(TreeState *state)
{
const char *desc = IDL_CODEFRAG(state->tree).desc;
if (strcmp(desc, "C++")) {
if (strcmp(desc, "C++") && /* libIDL bug? */ strcmp(desc, "C++\r")) {
XPIDL_WARNING((state->tree, IDL_WARNING1,
"ignoring '%%{%s' escape. "
"(Use '%%{C++' to escape verbatim C++ code.)", desc));