}
- if (found === "") {
+ if (found == "") {
return false;
}
found += stream.next();
}
- if (found === "") {
+ if (found == "") {
return false;
}
//print("WHITE = " + JSON.stringify(found));
@returns {Boolean} Was the token found?
*/
public bool read_newline (TokenStream stream, TokenArray tokens)
+ {
var found = "";
var line = this.line;
while (!stream.lookEOF() && Lang.isNewline(stream.look())) {
found += stream.next();
}
- if (found === "") {
+ if (found == "") {
return false;
}