Skip to content

Commit

Permalink
C++: Fix typos in cxx_parser.c
Browse files Browse the repository at this point in the history
This patch fix some spelling typo in DEBUG messages.
  • Loading branch information
standby24x7 committed Jun 12, 2019
1 parent 3fdf28b commit 2cb8ae1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions parsers/cxx/cxx_parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -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())
{
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 2cb8ae1

Please sign in to comment.