Lines Matching defs:expected
172 bool DSLParser::expect(Token::Kind kind, const char* expected, Token* result) {
180 this->error(next, "expected " + String(expected) + ", but found '" +
192 this->error(*result, "expected an identifier, but found type '" +
299 this->error(behavior, "expected 'require', 'enable', 'warn', or 'disable'");
315 this->error(lookahead, "expected a declaration, but found ';'");
421 this->error(line, "expected array dimension");
832 this->error(this->peek(), "expected array dimension");
1209 this->error(this->peek(), "expected '}', but found end of file");
1663 this->error(next, "expected field name or swizzle mask after '.'");
1691 this->error(next, "expected expression suffix, but found '" + this->text(next) + "'");
1743 this->error(t, "expected expression, but found '" + this->text(t) + "'");
1789 this->error(t, "expected 'true' or 'false', but found '" + this->text(t) + "'");