{
string found = "";
- while (!stream.lookEOF() && Lang.punc(found + stream.look().to_string()).length > 0) {
+ while (!stream.lookEOF()) {
+ var ns = stream.look().to_string();
+ found += ns;
+ if (Lang.punc(found + stream.look().to_string()) ) {
found += stream.next();
}