public bool read_word (TextStream stream, TokenArray tokens)
{
string found = "";
- while (!stream.lookEOF() && Lang.isWordChar((string)stream.look())) {
+ while (!stream.lookEOF() && Lang.isWordChar(stream.look().to_string())) {
found += stream.next();
}