Skip to content

Commit

Permalink
Merge pull request #3646 from al42and/typo-in-cxx-tag-begin
Browse files Browse the repository at this point in the history
Fix typo in conditional in C++ parser
  • Loading branch information
masatake authored Feb 14, 2023
2 parents c74bf5a + c34c579 commit 6f4a48a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parsers/cxx/cxx_tag.c
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ tagEntryInfo * cxxTagBegin(unsigned int uKind,CXXToken * pToken)
if (g_oCXXTag.extensionFields.scopeIndex != CORK_NIL)
{
if (uKind == CXXTagKindMEMBER || uKind == CXXTagKindENUMERATOR
|| uKind == CXXTagKindPARAMETER || CXXTagCPPKindTEMPLATEPARAM)
|| uKind == CXXTagKindPARAMETER || uKind == CXXTagCPPKindTEMPLATEPARAM)
g_oCXXTag.extensionFields.nth =
(short) countEntriesInScope(g_oCXXTag.extensionFields.scopeIndex,
true,
Expand Down

0 comments on commit 6f4a48a

Please sign in to comment.