*/
public bool read_numb (TokenStream stream, TokenArray tokens)
{
- if (stream.look() === "0" && stream.look(1) == "x") {
+ if (stream.look() == "0" && stream.look(1) == "x") {
return this.read_hex(stream, tokens);
}
found += stream.next();
}
- if (found === "") {
+ if (found == "") {
return false;
}
if (GLib.Regex.match_simple("^0[0-7]", found)) {
}
return false;
- },
+ }
/**
@returns {Boolean} Was the token found?
if (stream.look() == "/") {
regex += stream.next();
- while (GLib.Regex.match_simple("[gmi]", stream.look()) {
+ while (GLib.Regex.match_simple("[gmi]", stream.look())) {
regex += stream.next();
}