- if (token == "infinite")
- limits.infinite = true;
- else if (token == "ponder")
- limits.ponder = true;
- else if (token == "wtime")
- is >> time[WHITE];
- else if (token == "btime")
- is >> time[BLACK];
- else if (token == "winc")
- is >> inc[WHITE];
- else if (token == "binc")
- is >> inc[BLACK];
- else if (token == "movestogo")
- is >> limits.movesToGo;
- else if (token == "depth")
- is >> limits.maxDepth;
- else if (token == "nodes")
- is >> limits.maxNodes;
- else if (token == "movetime")
- is >> limits.maxTime;
- else if (token == "searchmoves")