Double-escape special characters for dot.
Example:
17 -> 18 [label="\n"]
results in an "unlabeled" arrow in the rendered graph, but
17 -> 18 [label="\\n"]
is ok.
break;
case '\n':
- o << "\\n";
+ o << (DFlag ? "\\\\n" : "\\n");
break;
case '\t':
- o << "\\t";
+ o << (DFlag ? "\\\\t" : "\\t");
break;
case '\v':
- o << "\\v";
+ o << (DFlag ? "\\\\v" : "\\v");
break;
case '\b':
- o << "\\b";
+ o << (DFlag ? "\\\\b" : "\\b");
break;
case '\r':
- o << "\\r";
+ o << (DFlag ? "\\\\r" : "\\r");
break;
case '\f':
- o << "\\f";
+ o << (DFlag ? "\\\\f" : "\\f");
break;
case '\a':
- o << "\\a";
+ o << (DFlag ? "\\\\a" :"\\a");
break;
case '\\':
- o << "\\\\";
+ o << (DFlag ? "\\\\\\\\" : "\\\\");
break;
default: