Subject: | Bug: wrong marks in MetaPost |
Date: | Mon, 10 Nov 2008 01:00:41 +0100 |
To: | bug-Games-Go-Sgf2Dg [...] rt.cpan.org |
From: | Przemyslaw Wesolek <przemyslaw.wesolek [...] cs.put.poznan.pl> |
Hi,
I'm using Games-Go-Sgf2Dg 4.221, especially Dg2Mp converter.
There is a bug which causes Metapost to fail during compilation of
generated .mp file. The suspected code is in Dg2Mp.pm:965:
Show quoted text
> $my->mpprint("_$func($x, $y, $color)\n");
The result is double underscore in .mp file in the place of calling some
mark function (like '__triangle'). However, single underscore is used
during definition of such function (like '_triangle' in line 104 of
mentioned file).
The solution is to remove the extra underscore in line cited 965.
Regards,
Przemek Wesolek