- if (token == "wtime")
- is >> limits.times[WHITE];
- else if (token == "btime")
- is >> limits.times[BLACK];
- else if (token == "winc")
- is >> limits.incs[WHITE];
- else if (token == "binc")
- is >> limits.incs[BLACK];
- else if (token == "movestogo")
- is >> limits.movestogo;
- else if (token == "depth")
- is >> limits.depth;
- else if (token == "nodes")
- is >> limits.nodes;
- else if (token == "movetime")
- is >> limits.movetime;
- else if (token == "infinite")
- limits.infinite = true;
- else if (token == "ponder")
- limits.ponder = true;
- else if (token == "searchmoves")