]> granicus.if.org Git - graphviz/commitdiff
Fix bug 2149
authorEmden Gansner <erg@research.att.com>
Wed, 19 Oct 2011 17:22:52 +0000 (13:22 -0400)
committerEmden Gansner <erg@research.att.com>
Wed, 19 Oct 2011 17:22:52 +0000 (13:22 -0400)
lib/cgraph/scan.l

index c354d55a80366477f8b16f70df3da0033eba1a95..56696fb4be1c3446e44e00b3fc4b8030c2db00d5 100644 (file)
@@ -179,7 +179,7 @@ ID          ({NAME}|{NUMBER})
 ["]                                            BEGIN(qstring); beginstr();
 <qstring>["]                   BEGIN(INITIAL); endstr(); return (T_qatom);
 <qstring>[\\]["]               addstr ("\"");
-<qstring>[\\][\\]              addstr ("\\");
+<qstring>[\\][\\]              addstr ("\\\\");
 <qstring>[\\][\n]              line_num++; /* ignore escaped newlines */
 <qstring>([^"\\]*|[\\])                addstr(yytext);
 [<]                                            BEGIN(hstring); html_nest = 1; beginstr();