From a887047d160a5385d9bd36821f349a73ea536346 Mon Sep 17 00:00:00 2001 From: "Qiaojin.Bao" Date: Tue, 12 Nov 2024 12:05:18 +0800 Subject: [PATCH] Correct a spelling error 'diagnostic' --- source/text.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/text.cpp b/source/text.cpp index 1723bb3171..2154e8552e 100644 --- a/source/text.cpp +++ b/source/text.cpp @@ -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;