List some undocumented commands as compliant
authorH.G. Muller <h.g.muller@hccnet.nl>
Fri, 12 Nov 2010 16:17:41 +0000 (17:17 +0100)
committerArun Persaud <arun@nubati.net>
Sun, 14 Nov 2010 05:08:10 +0000 (21:08 -0800)
The engine->GUI commands setboard and setup are now always printed in
the debug file as well.

backend.c

index 49affee..b957c97 100644 (file)
--- a/backend.c
+++ b/backend.c
@@ -13560,6 +13560,7 @@ ReceiveFromProgram(isr, closure, message, count, error)
                   sscanf(message, "error %c", &c)!=1 && sscanf(message, "illegal %c", &c)!=1 &&
                   sscanf(message, "tell%c", &c)!=1   && sscanf(message, "0-1 %c", &c)!=1 &&
                   sscanf(message, "1-0 %c", &c)!=1   && sscanf(message, "1/2-1/2 %c", &c)!=1 &&
+                  sscanf(message, "setboard %c", &c)!=1   && sscanf(message, "setup %c", &c)!=1 &&
                   sscanf(message, "hint: %c", &c)!=1 && 
                   sscanf(message, "pong %c", &c)!=1   && start != '#') {
                    quote = appData.engineComments == 2 ? "# " : "### NON-COMPLIANT! ### ";