From 2cb8ae16117a187e709edda4f22b4361ff81d6a3 Mon Sep 17 00:00:00 2001 From: Masanari Iida Date: Wed, 12 Jun 2019 22:48:20 +0900 Subject: [PATCH] C++: Fix typos in cxx_parser.c This patch fix some spelling typo in DEBUG messages. --- parsers/cxx/cxx_parser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parsers/cxx/cxx_parser.c b/parsers/cxx/cxx_parser.c index 750afdd3a2..a7c4511130 100644 --- a/parsers/cxx/cxx_parser.c +++ b/parsers/cxx/cxx_parser.c @@ -676,7 +676,7 @@ bool cxxParserParseEnum(void) (!(uInitialKeywordState & CXXParserKeywordStateSeenTypedef)) ) { - CXX_DEBUG_PRINT("Maybe KnR funciton definition"); + CXX_DEBUG_PRINT("Maybe KnR function definition"); switch(cxxParserMaybeParseKnRStyleFunctionDefinition()) { @@ -1777,7 +1777,7 @@ bool cxxParserParseIfForWhileSwitchCatchParenthesis(void) break; default: // should NOT happen! - CXX_DEBUG_ASSERT(false,"Unexpecte token type"); + CXX_DEBUG_ASSERT(false,"Unexpected token type"); break; } } else {