Lines Matching refs:semantic_error

241 			throw semantic_error(format_string("line %d: option already set", (*it)->getFirstLine()));  in processOptions()
274 …throw semantic_error(format_string("line %d: constant value is an invalid type", (*it)->getFirstLi… in processConstants()
304 …throw semantic_error(format_string("line %d: source definition node is an unexpected type", node->… in processSources()
312 throw semantic_error(format_string("line %d: source already defined", node->getFirstLine())); in processSources()
361 …throw semantic_error(format_string("line %d: expression didn't evaluate to an integer", expr->getF… in processSources()
387 …throw semantic_error(format_string("line %d: unexpected source definition node type", node->getFir… in processSources()
415 …throw semantic_error(format_string("line %d: section definition is unexpected type", node->getFirs… in processSections()
423 …throw semantic_error(format_string("line %d: section number did not evaluate to an integer", idExp… in processSections()
478 …throw semantic_error(format_string("line %d: unexpected section contents type", node->getFirstLine… in processSections()
548 …throw semantic_error(format_string("line %d: node is wrong type", assignmentNode->getFirstLine())); in convertAssignmentNodeToValue()
573 …throw semantic_error(format_string("line %d: expression didn't evaluate to an integer", expr->getF… in convertAssignmentNodeToValue()
585 …throw semantic_error(format_string("line %d: right hand side node is an unexpected type", valueNod… in convertAssignmentNodeToValue()
606 …throw semantic_error(format_string("line %d: statement node is unexpected type", (*it)->getFirstLi… in convertStatementList()
674 …throw semantic_error(format_string("line %d: unexpected statement type", statement->getFirstLine()… in convertOneStatement()
740 …throw semantic_error(format_string("line %d: call argument is unexpected type", argNode->getFirstL… in convertCallStatement()
746 …throw semantic_error(format_string("line %d: call argument did not evaluate to an integer", argExp… in convertCallStatement()
788 …throw semantic_error(format_string("line %d: from statements cannot be nested", statement->getFirs… in convertFromStatement()
799 throw semantic_error(format_string("line %d: bad source name", statement->getFirstLine())); in convertFromStatement()
836 …throw semantic_error(format_string("line %d: mode statement has invalid boot mode expression", sta… in convertModeStatement()
842 …throw semantic_error(format_string("line %d: boot mode did not evaluate to an integer", statement-… in convertModeStatement()
875 …throw semantic_error(format_string("line %d: missing or invalid conditional expression", statement… in convertIfStatement()
883 …throw semantic_error(format_string("line %d: if statement conditional expression did not evaluate … in convertIfStatement()
1105 throw semantic_error("load pattern expression did not evaluate to an integer"); in createSourceFromNode()
1123 …throw semantic_error(format_string("line %d: source does not support sections", sectionNode->getFi… in createSourceFromNode()
1132 …throw semantic_error(format_string("line %d: no sections match the pattern", sectionNode->getFirst… in createSourceFromNode()
1140 …throw semantic_error(format_string("line %d: source type does not support sections", matchListNode… in createSourceFromNode()
1165 …throw semantic_error(format_string("line %d: no sections match the section pattern list", matchLis… in createSourceFromNode()
1174 …throw semantic_error(format_string("line %d: unexpected load data node type", dataNode->getFirstLi… in createSourceFromNode()
1206 throw semantic_error("IVT field must have a valid expression"); in createIVTDataSource()
1211 …throw semantic_error(format_string("line %d: IVT field '%s' does not evaluate to an integer", valu… in createIVTDataSource()
1218 …throw semantic_error(format_string("line %d: unknown IVT field '%s'", assignmentNode->getFirstLine… in createIVTDataSource()
1283 throw semantic_error("address range must always have a beginning expression"); in createTargetFromNode()
1288 throw semantic_error("address range begin did not evaluate to an integer"); in createTargetFromNode()
1301 throw semantic_error("address range end did not evaluate to an integer"); in createTargetFromNode()
1319 throw semantic_error("unexpected load target node type"); in createTargetFromNode()
1347 …throw semantic_error(format_string("line %d: error opening source '%s'", line, sourceName->c_str()… in getSourceFromName()
1351 …throw semantic_error(format_string("line %d: invalid source name '%s'", line, sourceName->c_str())… in getSourceFromName()
1362 …throw semantic_error(format_string("line %d: source required but no default source is available", … in getSourceFromName()