Lines Matching defs:error

58             fParser->error(fParser->peek(), String("exceeded max parse depth"));
107 // an error occurs
135 this->error(token, "'" + this->text(token) + "' is a reserved word");
180 this->error(next, "expected " + String(expected) + ", but found '" +
192 this->error(*result, "expected an identifier, but found type '" +
212 void DSLParser::error(Token token, String msg) {
213 this->error(token.fLine, msg);
216 void DSLParser::error(int line, String msg) {
217 GetErrorReporter().error(msg.c_str(), this->position(line));
263 this->error(this->peek(), String("invalid token"));
299 this->error(behavior, "expected 'require', 'enable', 'warn', or 'disable'");
304 this->error(start, "unsupported directive '" + this->text(start) + "'");
315 this->error(lookahead, "expected a declaration, but found ';'");
404 this->error(sizeLiteral->fLine, "array size must be an integer");
408 this->error(sizeLiteral->fLine, "array size out of bounds");
412 this->error(sizeLiteral->fLine, "array size must be positive");
421 this->error(line, "expected array dimension");
621 this->error(name, "struct '" + this->text(name) + "' must contain at least one field");
671 this->error(resultToken, "value in layout is too large: " + resultFrag);
736 this->error(t, "'" + text + "' is not a valid layout qualifier");
740 this->error(t, "'" + text + "' is not a valid layout qualifier");
824 this->error(type, ("no type named '" + this->text(type) + "'").c_str());
832 this->error(this->peek(), "expected array dimension");
851 this->error(typeName, "no type named '" + this->text(typeName) + "'");
874 this->error(sizeToken, "unsized arrays are not permitted");
898 this->error(typeName, "interface block '" + this->text(typeName) +
1209 this->error(this->peek(), "expected '}', but found end of file");
1576 this->error(line, "too many components in swizzle mask");
1599 this->error(line,
1629 this->error(next, "missing index in '[]'");
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) + "'");
1758 this->error(t, "integer is too large: " + s);
1772 this->error(t, "floating-point value is too large: " + s);
1789 this->error(t, "expected 'true' or 'false', but found '" + this->text(t) + "'");