[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnugo-devel] matcher_check update
From: |
bump |
Subject: |
Re: [gnugo-devel] matcher_check update |
Date: |
Tue, 6 Aug 2002 07:13:07 -0700 |
The version of matcher_check which you sent on August 4 has a defect,
that it prints curly braces around the B and W properties like
this:
;{B}[dp]
This is not legal sgf. This patch corrects the problem. I am
adding this to the CVS.
Dan
Index: interface/gtp_examples/matcher_check
===================================================================
RCS file: /cvsroot/gnugo/gnugo/interface/gtp_examples/matcher_check,v
retrieving revision 1.2
diff -u -r1.2 matcher_check
--- interface/gtp_examples/matcher_check 5 Aug 2002 23:58:00 -0000
1.2
+++ interface/gtp_examples/matcher_check 6 Aug 2002 14:11:53 -0000
@@ -174,7 +174,7 @@
$move = eat_move($prog_out);
$sgfmove = standard_to_sgf($move);
- print SGFFILEHANDLE ";{$toplay}[$sgfmove]\n" if defined $sgffilename;
+ print SGFFILEHANDLE ";$toplay\[$sgfmove\]\n" if defined $sgffilename;
if ($move =~ /PASS/i) {
$pass++;
} else {