[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnugo-devel] Re: Ranked Robot (fwd)
From: |
Paul Pogonyshev |
Subject: |
Re: [gnugo-devel] Re: Ranked Robot (fwd) |
Date: |
Thu, 26 Aug 2004 21:18:49 +0300 |
User-agent: |
KMail/1.6.52 |
Gunnar wrote:
> While doing this I stepped onto a bug in mkpat. If the last pattern in
> patterns.db has a constraint or an action, the autohelper code will be
> written twice, giving a compilation error in patterns.c. See the
> comment near the end of the patch. Paul, do you have any idea where
> the bug might be?
I do, though this cost me quite a lot of debugging. The patch below
fixes this (already in CVS).
Paul
--- mkpat.c 26 Aug 2004 21:13:37 +0300 1.137
+++ mkpat.c 26 Aug 2004 21:17:32 +0300
@@ -3204,6 +3204,7 @@ main(int argc, char *argv[])
}
}
+ state = 0;
if (command == 1) { /* Pattern `name' */
int k;
@@ -3277,8 +3278,6 @@ main(int argc, char *argv[])
}
}
}
-
- state = 0;
}
else {
struct attribute_description *old_map = attribute_map;
- Re: [gnugo-devel] Re: Ranked Robot (fwd), (continued)
- Re: [gnugo-devel] Re: Ranked Robot (fwd), Gunnar Farnebäck, 2004/08/02
- Re: [gnugo-devel] Re: Ranked Robot (fwd), Gunnar Farnebäck, 2004/08/25
- Re: [gnugo-devel] Re: Ranked Robot (fwd), aquarius, 2004/08/26
- Re: [gnugo-devel] Re: Ranked Robot (fwd), Gunnar Farnebäck, 2004/08/26
- Re: [gnugo-devel] Re: Ranked Robot (fwd), aquarius, 2004/08/28
- Re: [gnugo-devel] Re: Ranked Robot (fwd), Gunnar Farnebäck, 2004/08/28
- Re: [gnugo-devel] Re: Ranked Robot (fwd), aquarius, 2004/08/29
- Re: [gnugo-devel] Re: Ranked Robot (fwd), Dave Denholm, 2004/08/26
- Re: [gnugo-devel] Re: Ranked Robot (fwd), Gunnar Farnebäck, 2004/08/26
- Re: [gnugo-devel] Re: Ranked Robot (fwd), Dave Denholm, 2004/08/27
- Re: [gnugo-devel] Re: Ranked Robot (fwd),
Paul Pogonyshev <=
- Re: [gnugo-devel] Re: Ranked Robot (fwd), Arend Bayer, 2004/08/27