Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C++: Fix typos in cxx_parser.c #2112

Merged
merged 1 commit into from
Jun 12, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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