Skip to content

Commit

Permalink
Correct a spelling error 'diagnostic'
Browse files Browse the repository at this point in the history
  • Loading branch information
qiaojbao authored Nov 12, 2024
1 parent 384d527 commit a887047
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/text.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ spv_result_t spvTextEncodeOperand(const spvtools::AssemblyGrammar& grammar,
}

// Optional literal operands can fail to parse. In that case use
// SPV_FAILED_MATCH to avoid emitting a diagostic. Use the following
// SPV_FAILED_MATCH to avoid emitting a diagnostic. Use the following
// for those situations.
spv_result_t error_code_for_literals =
spvOperandIsOptional(type) ? SPV_FAILED_MATCH : SPV_ERROR_INVALID_TEXT;
Expand Down

0 comments on commit a887047

Please # to comment.