1
0
Fork 0
Commit Graph

304 Commits (5640ad48ae5881223b868362c1cbeb042947f7b4)

Author SHA1 Message Date
Marco Costalba 6ef44d4c4e Finally remove UCIInputParser class altogether
Class UCIInputParser is now a typedef of a std::istringstream,
this greatly simplifies the code, especially the many conversions
from string to integer are now handled automatically by the
stream instead of relying on a chunk of C-style atoi() calls.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
2008-09-01 08:16:17 +02:00
Marco Costalba d22aeb1cc0 Use a string stream in UCIInputParser
Use a std::istringstream instead of an home
grown string tokenizer code.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
2008-09-01 08:06:34 +02:00
Marco Costalba b8e487ff9c Avoid casts to handle isspace() arguments
Use proper standard conversion to deal
with negative values of a char.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
2008-09-01 08:03:21 +02:00
Marco Costalba bb751d6c89 Initial import of Glaurung 2.1 2008-09-01 07:59:13 +02:00