Skip to content

Commit

Permalink
Merge pull request #2112 from standby24x7/cxx_parse-typo-fix
Browse files Browse the repository at this point in the history
C++: Fix typos in cxx_parser.c
  • Loading branch information
masatake committed Jun 12, 2019
2 parents 3fdf28b + 2cb8ae1 commit 1f50453
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 1f50453

Please sign in to comment.