Commits

Shlomi Fish committed 2e91df1

Add FCS_STATE_FLARES_PLAN_ERROR support to the forking_range_solver.

git-svn-id: file:///home/shlomif/Backup/svn-dumps/google-code/svnsync-repos/fc-solve/trunk@2865 e7e8a897-7ba4-4ee7-b36f-f4c66519b19a

Comments (0)

Files changed (1)

fc-solve/source/forking_range_solver.c

                 fflush(stdout);
                 print_int_wrapper(-1);
             }
+            else if (ret == FCS_STATE_FLARES_PLAN_ERROR)
+            {
+                const char * error_string;
+                
+                error_string =
+                    freecell_solver_user_get_last_error_string(instance);
+
+                fprintf(stderr, "Flares Plan: %s\n", error_string);
+
+                continue;
+            }            
             else if (ret == FCS_STATE_IS_NOT_SOLVEABLE)
             {
 #ifndef WIN32